-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Feature Request] Propagate mount write/update permissions to the client #30070
Comments
GitMate.io thinks the contributor most likely able to help you is @PVince81. |
One more use-case to WebSockets -> owncloud/client#6195 |
Most is already in place: there's an I'd vote for closing this ticket in favor of #29873 as we don't need any extra attributes or APIs. |
Question, just don´t know it: Addon question: which states can |
@mmattel "oc:permissions" is fetched and used by the client in general, not only for mounts. |
@mmattel yup, like @PVince81 said <d:response>
<d:href>/remote.php/dav/files/admin/ownCloud/</d:href>
<d:propstat>
<d:prop>
<d:resourcetype>
<d:collection/>
</d:resourcetype>
<oc:size>678556</oc:size>
<oc:permissions>RMCK</oc:permissions>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response> You can check all the values the permissions mask can have in https://doc.owncloud.org/desktop/2.4/architecture.html#server-side-permissions (and the Sabre connector equivalent in https://github.com/owncloud/core/blob/master/apps/dav/lib/Connector/Sabre/Node.php#L317-L347) An example on how the client uses these would be how the |
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. |
Realted to:
#29873 ([Feature Request] Mark mount as read only in the mount settings)
owncloud/client#6252 ([Feature Request] Define actions on read only mounts)
We should let the client proactively know which rights the mount has to properly define actions on.
Especially that the client can not write back (is_creatable, is_updatable).
We already have mounts where you can read only (ro-share).
Without propagating this, the client thinks he can write back and fails.
The user is confused as he has no clue or forgotten why this is the case.
An implementation would enable the client to define actions based on this info.
@PVince81 @SamuAlfageme
The text was updated successfully, but these errors were encountered: