From ac6bc2c04064c4763e5c014612b0141bf1d48b59 Mon Sep 17 00:00:00 2001 From: Semih Serhat Karakaya Date: Sat, 1 Feb 2020 22:28:47 +0300 Subject: [PATCH] show reshare public links to the original share owner --- changelog/unreleased/36865 | 6 ++++++ core/js/shareitemmodel.js | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 changelog/unreleased/36865 diff --git a/changelog/unreleased/36865 b/changelog/unreleased/36865 new file mode 100644 index 000000000000..e935c18cc694 --- /dev/null +++ b/changelog/unreleased/36865 @@ -0,0 +1,6 @@ +Bugfix: show re-share public links to share-owner + +Public links created by share-recipient were not visible to share-owner. +This problem has been resolved. + +https://github.com/owncloud/core/pull/36865 diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js index 4ff18c9a4769..fc470657cd80 100644 --- a/core/js/shareitemmodel.js +++ b/core/js/shareitemmodel.js @@ -803,14 +803,6 @@ || share.item_source === this.get('itemSource')); if (isShareLink) { - /* - * Ignore reshared link shares for now - * FIXME: Find a way to display properly - */ - if (share.uid_owner !== OC.currentUser) { - return share; - } - linkShares.push(share); return share; }