Add sharePermissions webdav property
This property can be queries by the clients so they know the max permissions they can use to share a file with. This will improve the UX. The oc:permissions proptery is not enough since mountpoints have different permissions (delete + move by default). By making it a new property the clients can just request it. On older servers it will just return a 404 for that property (and thus they know they have to fall back to their hacky work arounds). But if the property is returned the client can show proper info. * unit tests * intergration test
Showing
- apps/dav/lib/connector/sabre/filesplugin.php 6 additions, 0 deletionsapps/dav/lib/connector/sabre/filesplugin.php
- apps/dav/lib/connector/sabre/node.php 33 additions, 0 deletionsapps/dav/lib/connector/sabre/node.php
- apps/dav/tests/unit/connector/sabre/node.php 61 additions, 0 deletionsapps/dav/tests/unit/connector/sabre/node.php
- build/integration/features/bootstrap/WebDav.php 14 additions, 0 deletionsbuild/integration/features/bootstrap/WebDav.php
- build/integration/features/sharing-v1.feature 104 additions, 0 deletionsbuild/integration/features/sharing-v1.feature
Please register or sign in to comment