-
Notifications
You must be signed in to change notification settings - Fork 196
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
[OCM] User can share resource to federated user with permission roles that is not allowed #10824
Comments
@PrajwolAmatya I don't quite understand the bug, sorry 🙈
Why should this be the case? Why can I not share a file with |
The issue here is the different behavior in UI and API. Even though the permission Shouldn't the behavior be same for both UI and API? |
Describe the bug
When sharing a resource to a federated user with permissions role
Secure Viewer
via API, the federated user can access to the share.When enabling all the permissions role , the enabled permissions role are not available on UI as they are filtered out and only two permissions
Can View
andCan edit
are available.But the behavior is different with API, resources can be shared with permissions role
Secure Viewer
.Steps to reproduce
Alice
creates a filetextfile.txt
Alilce
shares the file with permissions roleSecure Viewer
to federated userBrian
via APIBrian
lists the sharessharedWithMe
Expected behavior
The resource shared with permissions role
Secure Viewer
should not be shared with userBrian
and the resource should not be listed for user Brian.Actual behavior
The response
sharedWithMe
lists the shared resource.Also, for user Brian the share is accessed with PROPFIND request:
Federated user cannot download this share shared with
Secure Viewer
.Reported in: #10822
The text was updated successfully, but these errors were encountered: