diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-21 12:47:16 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-29 10:34:36 +0200 |
commit | 4d53706d4ce3eaa03342c78be3462f52a6fac400 (patch) | |
tree | c68a801a35563b20f4063909274df1397e63b3cd /core | |
parent | 6ebb021359007b2c138c5dc4f9a7b2d3cb783948 (diff) | |
download | nextcloud-server-4d53706d4ce3eaa03342c78be3462f52a6fac400.tar.gz nextcloud-server-4d53706d4ce3eaa03342c78be3462f52a6fac400.zip |
Do not restrict permissions for the original owner
Diffstat (limited to 'core')
-rw-r--r-- | core/js/share.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 45873ca870e..6723b829ca5 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -356,7 +356,7 @@ OC.Share={ var data = OC.Share.loadItem(itemType, itemSource); var dropDownEl; var html = '<div id="dropdown" class="drop shareDropDown" data-item-type="'+itemType+'" data-item-source="'+itemSource+'">'; - if (data !== false && data.reshare !== false && data.reshare.uid_owner !== undefined) { + if (data !== false && data.reshare !== false && data.reshare.uid_owner !== undefined && data.reshare.uid_owner !== OC.currentUser) { html += '<span class="reshare">'; if (oc_config.enable_avatars === true) { html += '<div class="avatar"></div> '; |