-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graph/sharing: Fix role condition for space roots
When computing the allowed roles for a spaceroot use the correct conditions. Spaceroots require '@Subject.objectId Any_of @Resource.owners'. Note: Updating or deleting the permissions on a spaceroot via 'v1beta1/drives/{driveid}/items/{itemid}/permissions/{permissionid}' does still not work.
- Loading branch information
Showing
2 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Bugfix: apply role constraints when creating shares via the graph API | ||
|
||
We fixed a bug in the graph API for creating and updating shares so that | ||
Spaceroot specific roles like 'Manager' and 'Co-owner' can no longer be | ||
assigned for shares on files or directories. | ||
|
||
https://github.com/owncloud/ocis/pull/8247 | ||
https://github.com/owncloud/ocis/issues/8131 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters