[Pkg-owncloud-commits] [owncloud] 17/122: Do not restrict permissions for the original owner
David Prévot
taffit at moszumanska.debian.org
Sat May 9 00:00:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 4d53706d4ce3eaa03342c78be3462f52a6fac400
Author: Joas Schilling <nickvergessen at owncloud.com>
Date: Tue Apr 21 12:47:16 2015 +0200
Do not restrict permissions for the original owner
---
core/js/share.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/js/share.js b/core/js/share.js
index 45873ca..6723b82 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> ';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list