Added user spaces #24

Merged
edraft merged 8 commits from #15_user_spaces into dev 2025-04-30 16:44:53 +02:00
Showing only changes of commit 653fce9729 - Show all commits

View File

@ -23,8 +23,9 @@ export class PermissionGuard {
const permissions = route.data['permissions'] as PermissionsEnum[];
const checkByPerUserSetup = route.data['checkByPerUserSetup'] as boolean;
if (checkByPerUserSetup) {
return await this.features.get('PerUserSetup');
const isPerUserSetup = await this.features.get('PerUserSetup');
if (checkByPerUserSetup && isPerUserSetup) {
return true;
}
if (!permissions || permissions.length === 0) {