Skip to content

Commit 4ef4cc3

Browse files
authored
fix: change default publicBuildPermissions for new spaces to private (#183)
1 parent 8d99fd6 commit 4ef4cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mirror-web-server/src/space/space.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export class SpaceService implements IRoleConsumer {
275275
}
276276
})
277277
createdSpace.publicBuildPermissions =
278-
createSpaceDto.publicBuildPermissions || BUILD_PERMISSIONS.OBSERVER // default to observer
278+
createSpaceDto.publicBuildPermissions || BUILD_PERMISSIONS.PRIVATE // default to private
279279
createdSpace.role = role
280280

281281
createdSpace.maxUsers = createSpaceDto.maxUsers || 24

0 commit comments

Comments
 (0)