nextcloud-server/apps/files_sharing
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 +07:00
..
appinfo Bump app versions and requirements 2020-05-07 10:29:04 +07:00
composer Convert share event to an interaction event 2020-03-25 16:16:45 +07:00
css Fix public layout header title & description 2020-04-30 13:32:28 +07:00
img Svgo optimization 2016-09-27 20:56:26 +07:00
js Fix share permission checkboxes enabled when permissions can not be set 2020-06-12 00:05:36 +07:00
l10n [tx-robot] updated from transifex 2020-06-10 02:16:03 +07:00
lib Always sort shares in a reliable way 2020-06-08 14:47:15 +07:00
src Fix share permission checkboxes enabled when permissions can not be set 2020-06-12 00:05:36 +07:00
templates Format control structures, classes, methods and function 2020-04-10 14:19:56 +07:00
tests Fix share update test 2020-05-15 08:19:31 +07:00
.l10nignore Exclude compiled assets of files_sharing for transifex 2019-03-26 11:23:31 +07:00
list.php Properly emit Viewer event on files and files_sharing 2020-03-11 09:28:27 +07:00
public.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +07:00
webpack.js Allow users to specify to accept (internal) shares by default 2019-12-17 10:49:29 +07:00