diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2016-04-04 17:01:51 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2016-04-18 12:02:03 +0200 |
commit | 4ab02c0c76e8eedeac9e58d9f196920a931e923c (patch) | |
tree | 63b6cda1fd102426eab969abea2655f67d4a2553 /core/js/shareitemmodel.js | |
parent | 14fdafaede311ccebcb35729d4643554580d4071 (diff) | |
download | nextcloud-server-4ab02c0c76e8eedeac9e58d9f196920a931e923c.tar.gz nextcloud-server-4ab02c0c76e8eedeac9e58d9f196920a931e923c.zip |
bring back CRUDS permissions for federated shares
Diffstat (limited to 'core/js/shareitemmodel.js')
-rw-r--r-- | core/js/shareitemmodel.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js index 292230d26d5..2d4af365114 100644 --- a/core/js/shareitemmodel.js +++ b/core/js/shareitemmodel.js @@ -411,12 +411,6 @@ if(!_.isObject(share)) { throw "Unknown Share"; } - if( share.share_type === OC.Share.SHARE_TYPE_REMOTE - && ( permission === OC.PERMISSION_SHARE - || permission === OC.PERMISSION_DELETE)) - { - return false; - } return (share.permissions & permission) === permission; }, |