You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Share api does not allow update permission of a reshared folder #22717
1.User 1 share a folder with user 2 same server with permissions: read, create and share:21
2.User 2 share this folder with user 3 same server,
3.User 2 try to update permissions of this folder for user 3
curl -u user1:user server/ocs/v2.php/apps/files_sharing/api/v1/shares -X POST -d "path=/ab/&shareType=0&shareWith=user2&permissions=21" curl -u user2:user server/ocs/v2.php/apps/files_sharing/api/v1/shares -X POST -d "path=/ab/&shareType=0&shareWith=user3&permissions=1" curl -u user2:user server/ocs/v2.php/apps/files_sharing/api/v1/shares/27 -X PUT -d "permissions=17"
Expected behaviour
API allows to update this reshared folder
Actual behaviour
We can not update the permissions <statuscode>400</statuscode> <message>You can't share your root folder</message>
Activity
rullzer commentedon Feb 29, 2016
Known and fix is already merged #22683
lock commentedon Aug 6, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.