Merge pull request #7976 from 2403905/issue-7931

[full-ci] remove the permissions of a role with duplicate ID
This commit is contained in:
Roman Perekhod
2023-12-18 09:20:20 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -0,0 +1,6 @@
Bugfix: permissions of a role with duplicate ID
We remove the redundant permissions of a role with duplicate ID.
https://github.com/owncloud/ocis/pull/7976
https://github.com/owncloud/ocis/issues/7931
@@ -86,7 +86,6 @@ func generateBundleSpaceAdminRole() *settingsmsg.Bundle {
CreatePublicLinkPermission(All),
CreateSharePermission(All),
CreateSpacesPermission(All),
CreateSpacesPermission(Own),
DeleteProjectSpacesPermission(All),
DeleteReadOnlyPublicLinkPasswordPermission(All),
DisableEmailNotificationsPermission(Own),