From 4ef4cc32756707067db45ec112fabfbc7d3f5446 Mon Sep 17 00:00:00 2001 From: Kirill Leontev <39034228+Rybasher@users.noreply.github.com> Date: Wed, 22 May 2024 13:11:03 +0100 Subject: [PATCH] fix: change default publicBuildPermissions for new spaces to private (#183) --- 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