From 1c69f222501c933d820916d1235146d86a2a83f0 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Mon, 15 Mar 2021 10:05:18 +0000 Subject: [PATCH] Remove unsupported shareType of 'userGroup' (formerly 'contact') --- changelog/unreleased/fix-remove-unsupported-shareType | 5 +++++ packages/web-app-files/src/helpers/shareTypes.js | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/fix-remove-unsupported-shareType diff --git a/changelog/unreleased/fix-remove-unsupported-shareType b/changelog/unreleased/fix-remove-unsupported-shareType new file mode 100644 index 00000000000..4f81c4d2dc5 --- /dev/null +++ b/changelog/unreleased/fix-remove-unsupported-shareType @@ -0,0 +1,5 @@ +Bugfix: Remove unsupported shareType + +We don't support 'userGroup' (originally 'contact', shareType `2`) on the backend side anymore, so we delete it on the frontend, too. + +https://github.com/owncloud/web/pull/4809 diff --git a/packages/web-app-files/src/helpers/shareTypes.js b/packages/web-app-files/src/helpers/shareTypes.js index 72012e05f21..fd16720929f 100644 --- a/packages/web-app-files/src/helpers/shareTypes.js +++ b/packages/web-app-files/src/helpers/shareTypes.js @@ -4,7 +4,6 @@ export const shareTypes = { user: 0, group: 1, - userGroup: 2, link: 3, guest: 4, remote: 6