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:
parent
93b95b9eca
commit
ad3f406876
5 changed files with 9 additions and 14 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue