The resharing capability has been set to false by default in oCIS servers (owncloud/ocis#8842), and we realised that we're sending the wrong permissions within the OCShare object. We always give it share permission although the server doesn't allow it. We also show the Can share switch enabled when editing a share. So, several acceptance criteria here:
- Send correct permissions within the
OCShare object, depending on resharing capability
- If
resharing capability is false, disable the Can share switch for shares
TASKS
The
resharingcapability has been set tofalseby default in oCIS servers (owncloud/ocis#8842), and we realised that we're sending the wrong permissions within theOCShareobject. We always give it share permission although the server doesn't allow it. We also show theCan shareswitch enabled when editing a share. So, several acceptance criteria here:OCShareobject, depending onresharingcapabilityresharingcapability is false, disable theCan shareswitch for sharesTASKS
OCShareobjectCan shareswitch whenresharingis false