feat: better feature flags (#2026)

* feat: feature flag upgrade

* fix translations

* refactor

* fix

* fix
This commit is contained in:
Philip Okugbe
2026-03-15 22:05:32 +00:00
committed by GitHub
parent 236a63dadc
commit d7a5fda53c
54 changed files with 585 additions and 394 deletions
@@ -139,10 +139,10 @@ export class SpaceService {
});
if (
!this.licenseCheckService.isValidEELicense(workspace.licenseKey)
!this.licenseCheckService.hasFeature(workspace.licenseKey, 'security:settings', workspace.plan)
) {
throw new ForbiddenException(
'This feature requires a valid enterprise license',
'This feature requires a valid license',
);
}
}