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:
David Mehren 2020-08-12 20:23:48 +02:00
parent c3af748a52
commit 47d005e4fc
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
2 changed files with 16 additions and 8 deletions

View file

@ -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!',