feat(core): Set up endpoint for all existing roles with license flag (#7834)

https://linear.app/n8n/issue/PAY-1034/create-endpoint-to-list-all-existing-roles
This commit is contained in:
Iván Ovejero
2023-11-28 14:16:47 +01:00
committed by GitHub
parent 4074107511
commit 2356fb0f0c
9 changed files with 124 additions and 0 deletions

View File

@@ -223,6 +223,10 @@ export class License {
return this.isFeatureEnabled(LICENSE_FEATURES.ADVANCED_EXECUTION_FILTERS);
}
isAdvancedPermissionsLicensed() {
return this.isFeatureEnabled(LICENSE_FEATURES.ADVANCED_PERMISSIONS);
}
isDebugInEditorLicensed() {
return this.isFeatureEnabled(LICENSE_FEATURES.DEBUG_IN_EDITOR);
}