1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 22:29:41 +02:00

Rename document role to permission

This commit is contained in:
sauls8t 2018-03-06 13:36:11 +00:00
parent 93b95b9eca
commit ad3f406876
5 changed files with 9 additions and 14 deletions

View file

@ -343,7 +343,7 @@ export default Service.extend({
perms = this.get('store').push(perms);
this.get('folderService').set('permissions', perms);
let roles = this.get('store').normalize('document-role', response.roles);
let roles = this.get('store').normalize('document-permission', response.roles);
roles = this.get('store').push(roles);
let folders = response.folders.map((obj) => {