Fix share permissions for share tab

This commit is contained in:
Vincent Petry 2015-08-24 13:15:33 +02:00
parent 018d07b3e5
commit f709022559

View file

@ -57,8 +57,7 @@
var attributes = {
itemType: 'file',
itemSource: this.model.get('id'),
// TODO: make these available
possiblePermissions: this.model.get('sharingPossiblePermissions')
possiblePermissions: this.model.get('sharePermissions')
};
var shareModel = new OC.Share.ShareItemModel(attributes, {configModel: configModel});
var configModel = new OC.Share.ShareConfigModel();