feat(core): Add workflow diffs feature to license checks (no-changelog) (#18130)

This commit is contained in:
Marc Littlemore
2025-08-08 16:51:39 +01:00
committed by GitHub
parent 88318694ce
commit 11dcef36df
7 changed files with 11 additions and 0 deletions

View File

@@ -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> = {

View File

@@ -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()) {