mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
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:
@@ -176,6 +176,7 @@ export class FrontendService {
|
|||||||
binaryDataS3: false,
|
binaryDataS3: false,
|
||||||
workflowHistory: false,
|
workflowHistory: false,
|
||||||
workerView: false,
|
workerView: false,
|
||||||
|
advancedPermissions: false,
|
||||||
},
|
},
|
||||||
mfa: {
|
mfa: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
@@ -265,6 +266,7 @@ export class FrontendService {
|
|||||||
workflowHistory:
|
workflowHistory:
|
||||||
this.license.isWorkflowHistoryLicensed() && config.getEnv('workflowHistory.enabled'),
|
this.license.isWorkflowHistoryLicensed() && config.getEnv('workflowHistory.enabled'),
|
||||||
workerView: this.license.isWorkerViewLicensed(),
|
workerView: this.license.isWorkerViewLicensed(),
|
||||||
|
advancedPermissions: this.license.isAdvancedPermissionsLicensed(),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (this.license.isLdapEnabled()) {
|
if (this.license.isLdapEnabled()) {
|
||||||
|
|||||||
@@ -2335,6 +2335,7 @@ export interface IN8nUISettings {
|
|||||||
binaryDataS3: boolean;
|
binaryDataS3: boolean;
|
||||||
workflowHistory: boolean;
|
workflowHistory: boolean;
|
||||||
workerView: boolean;
|
workerView: boolean;
|
||||||
|
advancedPermissions: boolean;
|
||||||
};
|
};
|
||||||
hideUsagePage: boolean;
|
hideUsagePage: boolean;
|
||||||
license: {
|
license: {
|
||||||
|
|||||||
Reference in New Issue
Block a user