Unify API perm endpoint to set_permissions, initial frontend support for doc sharing

This commit is contained in:
Michael Shamoon
2022-12-07 00:36:31 -08:00
parent 5534afd65f
commit 43d4f2d3d0
12 changed files with 111 additions and 117 deletions

View File

@@ -12,7 +12,7 @@
i18n-addTagText="Used for both types, correspondents, storage paths"
[placeholder]="placeholder"
[multiple]="multiple"
bindLabel="name"
[bindLabel]="bindLabel"
bindValue="id"
(change)="onChange(value)"
(search)="onSearch($event)"

View File

@@ -47,6 +47,9 @@ export class SelectComponent extends AbstractInputComponent<number> {
@Input()
multiple: boolean = false
@Input()
bindLabel: string = 'name'
@Output()
createNew = new EventEmitter<string>()