diff --git a/changelog/unreleased/fix-ocm-role-editor.md b/changelog/unreleased/fix-ocm-role-editor.md new file mode 100644 index 0000000000..d29d046ac3 --- /dev/null +++ b/changelog/unreleased/fix-ocm-role-editor.md @@ -0,0 +1,6 @@ +Bugfix: Fix the OCM role editor + +Fix the OCM role editor permission set. The redundant permissions have been removed. + +https://github.com/cs3org/reva/pull/5100 +https://github.com/owncloud/ocis/issues/11054 diff --git a/internal/http/services/ocmd/protocols.go b/internal/http/services/ocmd/protocols.go index 882f42b4a9..00e2d51f11 100644 --- a/internal/http/services/ocmd/protocols.go +++ b/internal/http/services/ocmd/protocols.go @@ -70,9 +70,6 @@ func (w *WebDAV) ToOCMProtocol() *ocm.Protocol { perms.Permissions.CreateContainer = true perms.Permissions.Delete = true perms.Permissions.Move = true - perms.Permissions.ListGrants = true - case "share": - perms.Reshare = true } }