From 17c6b5dcf3dc09bd7cedf0b64e8f5e4d5f918d02 Mon Sep 17 00:00:00 2001 From: Rybasher Date: Tue, 21 May 2024 14:33:29 +0300 Subject: [PATCH] fix: change default publicBuildPermissions for new spaces to private --- mirror-web-server/src/space/space.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror-web-server/src/space/space.service.ts b/mirror-web-server/src/space/space.service.ts index 2004c892..b75dbf33 100644 --- a/mirror-web-server/src/space/space.service.ts +++ b/mirror-web-server/src/space/space.service.ts @@ -275,7 +275,7 @@ export class SpaceService implements IRoleConsumer { } }) createdSpace.publicBuildPermissions = - createSpaceDto.publicBuildPermissions || BUILD_PERMISSIONS.OBSERVER // default to observer + createSpaceDto.publicBuildPermissions || BUILD_PERMISSIONS.PRIVATE // default to private createdSpace.role = role createdSpace.maxUsers = createSpaceDto.maxUsers || 24