Skip to content

Commit

Permalink
feat: fix role mgmt
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Feb 26, 2024
1 parent b52f2d0 commit ff33a0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/permission/app-detail/app-detail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,10 @@ export class AppDetailComponent implements OnInit, OnDestroy {
if (changed) this.loadApp()
}

/****************************************************************************
* ASSIGNMENTS => grant + revoke
****************************************************************************
*/
public onAssignPermission(ev: MouseEvent, permRow: PermissionViewRow, role: Role, silent?: boolean): void {
this.log('onAssignPermission()')
}
Expand Down
2 changes: 2 additions & 0 deletions src/app/permission/role-detail/role-detail.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<p-dialog
[(visible)]="displayDetailDialog"
[header]="'ACTIONS.' + changeMode + '.ROLE' | translate"
(onHide)="onClose()"
[modal]="true"
[closable]="true"
[resizable]="true"
Expand Down Expand Up @@ -61,6 +62,7 @@
<p-dialog
[(visible)]="displayDeleteDialog"
[header]="'ACTIONS.DELETE.ROLE' | translate"
(onHide)="onClose()"
[modal]="true"
[closable]="true"
[resizable]="false"
Expand Down

0 comments on commit ff33a0c

Please sign in to comment.