mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08: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:
parent
054c4bacd5
commit
74b4513298
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue