mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-27 03:58:02 -05:00
Update NotesService and HistoryService to use the new permission model.
We now have separate sharedTo attributes for users and groups. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
c3af748a52
commit
47d005e4fc
2 changed files with 16 additions and 8 deletions
|
@ -24,7 +24,8 @@ export class HistoryService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
},
|
||||
tags: [],
|
||||
title: 'Title!',
|
||||
|
@ -62,7 +63,8 @@ export class HistoryService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
},
|
||||
tags: [],
|
||||
title: 'Title!',
|
||||
|
|
|
@ -26,7 +26,8 @@ export class NotesService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
},
|
||||
tags: [],
|
||||
title: 'Title!',
|
||||
|
@ -59,7 +60,8 @@ export class NotesService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
},
|
||||
tags: [],
|
||||
title: 'Title!',
|
||||
|
@ -93,7 +95,8 @@ export class NotesService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
},
|
||||
tags: [],
|
||||
title: 'Title!',
|
||||
|
@ -132,7 +135,8 @@ export class NotesService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
},
|
||||
tags: [],
|
||||
title: 'Title!',
|
||||
|
@ -164,7 +168,8 @@ export class NotesService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
},
|
||||
tags: [],
|
||||
title: 'Title!',
|
||||
|
@ -191,7 +196,8 @@ export class NotesService {
|
|||
email: 'foo@example.com',
|
||||
photo: '',
|
||||
},
|
||||
sharedTo: [],
|
||||
sharedToUsers: [],
|
||||
sharedToGroups: [],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue