update attributes for share with user list, file should always have delete permissions, this means unshare in this context, and the overview page is always a root view
This commit is contained in:
parent
0dc649f391
commit
aff948925a
|
@ -59,6 +59,9 @@
|
|||
$tr.attr('data-share-id', _.pluck(fileData.shares, 'id').join(','));
|
||||
if (this._sharedWithUser) {
|
||||
$tr.attr('data-share-owner', fileData.shareOwner);
|
||||
$tr.attr('data-mounttype', 'shared-root');
|
||||
var permission = parseInt($tr.attr('data-permissions')) | OC.PERMISSION_DELETE;
|
||||
$tr.attr('data-permissions', permission);
|
||||
}
|
||||
return $tr;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue