diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-07-02 17:46:16 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-07-27 12:19:24 +0200 |
commit | 4b5bb4d9cfda9a080861a192524500edfe634ca2 (patch) | |
tree | 1569ce3dc83933b5e510a1e46733c281463a8c6f /apps/files_sharing/js/app.js | |
parent | cff8ae7ded95ca035c7a6ec9fe5c4212273e2b6c (diff) | |
download | nextcloud-server-4b5bb4d9cfda9a080861a192524500edfe634ca2.tar.gz nextcloud-server-4b5bb4d9cfda9a080861a192524500edfe634ca2.zip |
Fix re-accepting or re-rejecting remote group shares
When accepting a group share, a sub-share entry is created which also
has a different id.
When accepting or rejecting the sub-share, simply update the "accepted"
flag instead of trying to re-insert the entry.
Adjust getShare to also properly validate group share membership
when called on a sub-share id.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/files_sharing/js/app.js')
0 files changed, 0 insertions, 0 deletions