mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-30 23:05:30 -04: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!',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue