From 68b2438f49b8782167ed45a386677a4235ca48dc Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Tue, 31 Jan 2023 12:09:51 +0100 Subject: [PATCH] Fix cancelling custom permissions --- .../bugfix-cancel-custom-permissions | 6 + .../Shares/Collaborators/RoleDropdown.vue | 29 +- .../Shares/Collaborators/RoleDropdown.spec.ts | 313 +++++--------- .../__snapshots__/RoleDropdown.spec.ts.snap | 384 +++--------------- 4 files changed, 173 insertions(+), 559 deletions(-) create mode 100644 changelog/unreleased/bugfix-cancel-custom-permissions diff --git a/changelog/unreleased/bugfix-cancel-custom-permissions b/changelog/unreleased/bugfix-cancel-custom-permissions new file mode 100644 index 00000000000..09b20cabb75 --- /dev/null +++ b/changelog/unreleased/bugfix-cancel-custom-permissions @@ -0,0 +1,6 @@ +Bugfix: Cancel custom permissions + +We've fixed a bug where cancelling the custom permissions on a share would remove all permissions. + +https://github.com/owncloud/web/pull/8340 +https://github.com/owncloud/web/issues/8335 diff --git a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/RoleDropdown.vue b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/RoleDropdown.vue index 348e0d67a0a..d14fbd96753 100644 --- a/packages/web-app-files/src/components/SideBar/Shares/Collaborators/RoleDropdown.vue +++ b/packages/web-app-files/src/components/SideBar/Shares/Collaborators/RoleDropdown.vue @@ -87,13 +87,14 @@ > @@ -103,7 +104,6 @@