Revert "feat(core): Read ephemeral license from environment and clean up ee flags (#5797)"
This reverts commit a81ca7c19c.
This commit is contained in:
committed by
GitHub
parent
06d7a46bdc
commit
be373bb859
@@ -57,7 +57,10 @@ export function isUserManagementEnabled(): boolean {
|
||||
|
||||
export function isSharingEnabled(): boolean {
|
||||
const license = Container.get(License);
|
||||
return isUserManagementEnabled() && license.isSharingEnabled();
|
||||
return (
|
||||
isUserManagementEnabled() &&
|
||||
(config.getEnv('enterprise.features.sharing') || license.isSharingEnabled())
|
||||
);
|
||||
}
|
||||
|
||||
export async function getRoleId(scope: Role['scope'], name: Role['name']): Promise<Role['id']> {
|
||||
|
||||
Reference in New Issue
Block a user