nextcloud / files-clients

1 stars 0 forks source link

Allow to share docments "view-only" with other users, only view the document online #24

Open tobiasKaminsky opened 2 years ago

tobiasKaminsky commented 2 years ago

To do

Ref: https://github.com/nextcloud-gmbh/server/issues/109

tobiasKaminsky commented 1 year ago

Server "documentation": https://github.com/nextcloud/server/pull/32482#issuecomment-1135569869

nickvergessen commented 1 year ago

There is also a raised ticket in https://github.com/nextcloud/documentation/issues/9186 for the missing docs

marinofaggiana commented 1 year ago

This is not clear for me ... this is for Link (for now) .... I don't see what the clients care about ?

curl -u admin:admin 'https://domain.tld/ocs/v2.php/apps/files_sharing/api/v1/shares/$shareId` \ -X 'PUT' \ -H 'OCS-APIRequest: true' \ -H 'Accept: application/json, text/plain, /' \ -H 'Content-Type: application/json' \ --data-raw '{"attributes":[{"scope": "permissions", "key": "download", "enabled": "false"}]}'

tobiasKaminsky commented 1 year ago

There are two things: 1) as an user I can share a file to another user(!) and then select "hide download"

2) as the other user

marinofaggiana commented 1 year ago

No print -> all type documents [NO MENU] No download = no copy move offline [NO MENU] No screenshot (not possible) exists some hack but is not applicable