nextcloud/apps/files_sharing/js
Daniel Calviño Sánchez 3ffb482b4e Fix share permission checkboxes enabled when permissions can not be set
A sharee can reshare a file and set the edit, create, delete and share
permissions of the reshare only if the received share has edit, create,
delete and share permissions, or if they were revoked in the received
share after being set in the reshare. Therefore, the permission
checkboxes in the share menu should be enabled only if the user can set
them (otherwise trying to check them will lead to an error).

Note that "sharePermissions" has all the permissions if the file is not
a reshare but a file owned by the user.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-12 00:05:36 +02:00
..
dist Fix share permission checkboxes enabled when permissions can not be set 2020-06-12 00:05:36 +02:00
templates add progressbar for every element & better design 2020-03-31 14:21:28 +00:00
additionalScripts.js Search sharees on lookup server when explicitly requested by user 2019-02-26 19:44:49 +01:00
additionalScripts.js.map Search sharees on lookup server when explicitly requested by user 2019-02-26 19:44:49 +01:00
app.js Fix default action for deleted shares 2020-03-09 20:16:38 +00:00
files_drop.js l10n: Triple dot to ellipsis. 2020-04-04 23:09:12 +02:00
public.js Don't load text file preview when text app is available (Fixes: #20615) 2020-04-24 11:14:21 +02:00
public_note.js Tests fixes 2018-08-24 20:31:29 +02:00
sharedfilelist.js Add pending share list to frontend 2020-01-07 19:35:45 +01:00
templates.js add progressbar for every element & better design 2020-03-31 14:21:28 +00:00