Skip to content

Commit

Permalink
show reshare public links to the original share owner
Browse files Browse the repository at this point in the history
  • Loading branch information
karakayasemi committed Feb 12, 2020
1 parent 022be55 commit ac6bc2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/36865
Original file line number Diff line number Diff line change
@@ -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
8 changes: 0 additions & 8 deletions core/js/shareitemmodel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ac6bc2c

Please sign in to comment.