nextcloud/apps/files_sharing/src
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
..
components Fix share permission checkboxes enabled when permissions can not be set 2020-06-12 00:05:36 +02:00
mixins Restore previous state when failing to change video verification state 2020-06-01 18:50:13 +02:00
models Allow to navigate to others with access from the sidebar 2020-04-29 17:53:35 +00:00
services Do not show e-mail suggestions if link shares are disabled 2020-01-06 10:22:22 +01:00
style Cleanup sharing leftovers 2019-11-05 19:03:44 +01:00
utils Fix "Error loading the shares list TypeError: "this is undefined"" for conversation shares 2020-03-03 20:22:39 +01:00
views Do not process the same FileInfo twice 2020-05-06 19:41:31 +00:00
additionalScripts.js Cleanup sharing leftovers 2019-11-05 19:03:44 +01:00
collaborationresources.js Migrate to @nextcloud/vue 1.x.x 2020-01-22 17:33:49 +01:00
collaborationresourceshandler.js Bump eslint-config-nextcloud from 0.0.6 to 0.1.0 2019-12-19 11:55:33 +01:00
files_sharing.js Comply to eslint 2019-10-01 17:16:09 +02:00
files_sharing_tab.js Properly query files 2019-12-04 09:57:55 +01:00
index.js Bump eslint-config-nextcloud from 0.0.6 to 0.1.0 2019-12-19 11:55:33 +01:00
personal-settings.js Don't overwrite the settings from files 2019-12-17 14:17:07 +01:00
share.js Remove the escape-html global 2020-05-29 08:34:10 +00:00
sharebreadcrumbview.js Bump eslint-config-nextcloud from 0.0.6 to 0.1.0 2019-12-19 11:55:33 +01:00