From 2a5cdb3678929abe00bae5dd9fd14d9c3c784cce Mon Sep 17 00:00:00 2001 From: Neil Smyth Date: Sun, 17 Nov 2024 11:01:05 +0100 Subject: [PATCH] fixed logic check: space auth does need license entitlements --- src/domain/space/space/space.service.authorization.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/domain/space/space/space.service.authorization.ts b/src/domain/space/space/space.service.authorization.ts index 93e7119bd..05ce65563 100644 --- a/src/domain/space/space/space.service.authorization.ts +++ b/src/domain/space/space/space.service.authorization.ts @@ -93,8 +93,7 @@ export class SpaceAuthorizationService { !space.community || !space.community.roleSet || !space.subspaces || - !space.license || - !space.license.entitlements + !space.license ) { throw new RelationshipNotFoundException( `Unable to load Space with entities at start of auth reset: ${space.id} `,