Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Space Delete Permissions #3893

Merged
merged 2 commits into from
May 17, 2023

Conversation

kobergj
Copy link
Contributor

@kobergj kobergj commented May 16, 2023

Space Delete and Disable permissions ("Drive.ReadWriteEnabled", "delete-all-spaces", "delete-all-home-spaces") were overlapping and not clear differentiatable.
The new logic is as follows:

  • "Drive.ReadWriteEnabled" allows enabling or disabling a project space
  • "delete-all-home-spaces" allows deleting personal spaces of users
  • "delete-all-spaces" allows deleting a project space
  • Space Mangers can still disable/enable/delete a drive

Backend part of: owncloud/ocis#5872

@kobergj kobergj force-pushed the CleanupSpaceDeletePermissions branch from 8e16f3a to 0a46537 Compare May 16, 2023 13:27
@kobergj kobergj marked this pull request as ready for review May 17, 2023 08:37
@kobergj kobergj requested review from a team, labkode, ishank011 and glpatcern as code owners May 17, 2023 08:37
Copy link

@dragonchaser dragonchaser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kobergj kobergj merged commit e8dac62 into cs3org:edge May 17, 2023
@kobergj kobergj deleted the CleanupSpaceDeletePermissions branch May 17, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants