-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
OCS Share API - "permissions" parameter has no effect #32611
Labels
Comments
timowevel1
added
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
bug
labels
May 26, 2022
I guess the problem is this else block: server/apps/files_sharing/lib/Controller/ShareAPIController.php Lines 569 to 586 in 62919ac
It has been like that since the introduction of the API, but obviously ignores the permissions requested by the client. I'm not sure why that block is there at all, IMO it could simply be removed. But there may be a reason to cap the permissions to something applicable to files (like read & update?). |
3 tasks
@timowevel1 Commit 628b0d8 is only present in the beta versions of v26. Do you have those installed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug description
The OCS Share API doesnt work properly. One is not able to set the permissions, it always stays "17".
Steps to reproduce
Expected behavior
Permissions are set correctly
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: