Fix mixed rule / owner check, component input / output

This commit is contained in:
shamoon
2023-09-22 01:20:25 -07:00
parent 205106b566
commit 86d223fd93
2 changed files with 5 additions and 1 deletions

View File

@@ -21,10 +21,13 @@ export class PermissionsDialogComponent {
this.userService.listAll().subscribe((r) => (this.users = r.results))
}
@Output()
public confirmClicked = new EventEmitter()
@Input()
title = $localize`Set permissions`
@Input()
set object(o: ObjectWithPermissions) {
this.o = o
this.title = $localize`Edit permissions for ` + o['name']
@@ -54,6 +57,7 @@ export class PermissionsDialogComponent {
}
}
@Input()
message = $localize`Note that permissions set here will override any existing permissions`
cancelClicked() {