mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(core): Add workflow diffs feature to license checks (no-changelog) (#18130)
This commit is contained in:
@@ -108,6 +108,7 @@ export class E2EController {
|
||||
[LICENSE_FEATURES.API_KEY_SCOPES]: false,
|
||||
[LICENSE_FEATURES.OIDC]: false,
|
||||
[LICENSE_FEATURES.MFA_ENFORCEMENT]: false,
|
||||
[LICENSE_FEATURES.WORKFLOW_DIFFS]: false,
|
||||
};
|
||||
|
||||
private static readonly numericFeaturesDefaults: Record<NumericLicenseFeature, number> = {
|
||||
|
||||
@@ -228,6 +228,7 @@ export class FrontendService {
|
||||
workerView: false,
|
||||
advancedPermissions: false,
|
||||
apiKeyScopes: false,
|
||||
workflowDiffs: false,
|
||||
projects: {
|
||||
team: {
|
||||
limit: 0,
|
||||
@@ -356,6 +357,7 @@ export class FrontendService {
|
||||
workerView: this.license.isWorkerViewLicensed(),
|
||||
advancedPermissions: this.license.isAdvancedPermissionsLicensed(),
|
||||
apiKeyScopes: this.license.isApiKeyScopesEnabled(),
|
||||
workflowDiffs: this.licenseState.isWorkflowDiffsLicensed(),
|
||||
});
|
||||
|
||||
if (this.license.isLdapEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user