diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-15 15:21:01 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-15 15:27:31 +0200 |
commit | e89567eb53adac4655e4eb342788dc30758afcf3 (patch) | |
tree | f806edaaffb1c40de2e3ff07f9c9366cc14bfca8 | |
parent | 7f58f36b18ae4d243aff1675fceb776b6869f25e (diff) | |
download | nextcloud-server-e89567eb53adac4655e4eb342788dc30758afcf3.tar.gz nextcloud-server-e89567eb53adac4655e4eb342788dc30758afcf3.zip |
Take base permissions from DAV, fixes #10516
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r-- | core/js/shareitemmodel.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js index 241b9c19c0d..c28d85efbf0 100644 --- a/core/js/shareitemmodel.js +++ b/core/js/shareitemmodel.js @@ -777,7 +777,7 @@ return {}; } - var permissions = this.get('possiblePermissions'); + var permissions = this.fileInfoModel.get('permissions'); if(!_.isUndefined(data.reshare) && !_.isUndefined(data.reshare.permissions) && data.reshare.uid_owner !== OC.currentUser) { permissions = permissions & data.reshare.permissions; } |