adjust permissions in web view for encrypted folders
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
fc456bec39
commit
670ac48eb7
|
@ -1447,7 +1447,9 @@
|
|||
path = fileData.path || this.getCurrentDirectory(),
|
||||
permissions = parseInt(fileData.permissions, 10) || 0;
|
||||
|
||||
if (fileData.isShareMountPoint) {
|
||||
var isEndToEndEncrypted = (type === 'dir' && fileData.isEncrypted);
|
||||
|
||||
if (!isEndToEndEncrypted && fileData.isShareMountPoint) {
|
||||
permissions = permissions | OC.PERMISSION_UPDATE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue