Skip to content

Commit

Permalink
fix: change default publicBuildPermissions for new spaces to private (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rybasher authored May 22, 2024
1 parent 8d99fd6 commit 4ef4cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirror-web-server/src/space/space.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ef4cc3

Please sign in to comment.