mirror of
https://github.com/documize/community.git
synced 2025-08-04 13:05:23 +02:00
new permission endpoint
WIP
This commit is contained in:
parent
ae05cacf3f
commit
5f7c6d211f
32 changed files with 334 additions and 249 deletions
|
@ -11,13 +11,12 @@
|
|||
|
||||
import Model from 'ember-data/model';
|
||||
import attr from 'ember-data/attr';
|
||||
// import { belongsTo, hasMany } from 'ember-data/relationships';
|
||||
import { belongsTo } from 'ember-data/relationships';
|
||||
|
||||
export default Model.extend({
|
||||
orgId: attr('string'),
|
||||
folderId: attr('string'),
|
||||
userId: attr('string'),
|
||||
fullname: attr('string'),
|
||||
canView: attr('boolean', { defaultValue: false }),
|
||||
canEdit: attr('boolean', { defaultValue: false })
|
||||
permissions: belongsTo('space-permission')
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue