feat(core): Add Advanced Permissions to FE settings (no-changelog) (#7867)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Omar Ajoue 2023-11-29 15:56:35 +01:00 committed by GitHub
parent 054c4bacd5
commit 74b4513298
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -176,6 +176,7 @@ export class FrontendService {
binaryDataS3: false,
workflowHistory: false,
workerView: false,
advancedPermissions: false,
},
mfa: {
enabled: false,
@ -265,6 +266,7 @@ export class FrontendService {
workflowHistory:
this.license.isWorkflowHistoryLicensed() && config.getEnv('workflowHistory.enabled'),
workerView: this.license.isWorkerViewLicensed(),
advancedPermissions: this.license.isAdvancedPermissionsLicensed(),
});
if (this.license.isLdapEnabled()) {

View file

@ -2335,6 +2335,7 @@ export interface IN8nUISettings {
binaryDataS3: boolean;
workflowHistory: boolean;
workerView: boolean;
advancedPermissions: boolean;
};
hideUsagePage: boolean;
license: {