feat(editor): SAML paywall state (#5906)

* feat(editor): SAML paywall state

* fix(editor): fix translation

* fix(editor): SSO update links
This commit is contained in:
Csaba Tuncsik
2023-04-07 13:29:22 +02:00
committed by GitHub
parent 07c360c30d
commit d40e86aabc
3 changed files with 76 additions and 41 deletions

View File

@@ -578,12 +578,7 @@ export const routes = [
deny: {
shouldDeny: () => {
const settingsStore = useSettingsStore();
const ssoStore = useSSOStore();
return (
!ssoStore.isEnterpriseSamlEnabled ||
settingsStore.isCloudDeployment ||
settingsStore.isDesktopDeployment
);
return settingsStore.isCloudDeployment || settingsStore.isDesktopDeployment;
},
},
},