-
Notifications
You must be signed in to change notification settings - Fork 184
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
Public link enforce permissions #1269
Comments
|
|
the publicshareprovider fetches the issuer of the public share via the token. It uses that user to mint a token that is then used to authenticate requests to the actual storage. That logic needs to be double checked that
|
but: the user who issued the public share usually has maximum permissions, so there needs to be a mechanism to reduce the permissions to whatever the public link has been set to. |
Outcome of the roles and permissions meeting (broader topic) where we briefly discussed public links roles:
|
this is a big technical debt currently present in the codebase. |
this is covered by sharing NG |
Make sure permissions are enforced and return 403 instead of 500.
In the case of upload-only links, any Webdav operation would usually return 404 (need to be verified with the API tests)
Supersedes owncloud/ocis-reva#285 and owncloud/ocis-reva#291
The text was updated successfully, but these errors were encountered: