mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Update Note entity
We now use the new permissions split in users and groups. Also the note now knows the colors of its authors. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
ba9d7a6572
commit
ef92ab73f9
4 changed files with 47 additions and 71 deletions
|
@ -1,4 +1,11 @@
|
|||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { NoteGroupPermission } from './note-group-permission.entity';
|
||||
import { NoteUserPermission } from './note-user-permission.entity';
|
||||
|
||||
@Module({})
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([NoteUserPermission, NoteGroupPermission]),
|
||||
],
|
||||
})
|
||||
export class PermissionsModule {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue