Browse Source
Fixed the Audit logs tab of a tenant administrator failing with 403 for a system administrator (#16867)
pull/16872/head
Vladyslav Prykhodko
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
ui-ngx/src/app/modules/home/pages/user/user-tabs.component.html
|
|
|
@ -39,7 +39,7 @@ |
|
|
|
@if (entity && (resource.AUDIT_LOG | hasGenericPermission: operation.READ)) { |
|
|
|
<mat-tab |
|
|
|
label="{{ 'audit-log.audit-logs' | translate }}" #auditLogsTab="matTab"> |
|
|
|
<tb-audit-log-table [active]="auditLogsTab.isActive" [auditLogMode]="auditLogModes.USER" [userId]="entity.id" detailsMode="true"></tb-audit-log-table> |
|
|
|
<tb-audit-log-table [active]="auditLogsTab.isActive" [auditLogMode]="auditLogModes.ENTITY" [entityId]="entity.id" detailsMode="true"></tb-audit-log-table> |
|
|
|
</mat-tab> |
|
|
|
} |
|
|
|
@if (entity && (resource.API_KEY | hasGenericPermission: operation.READ)) { |
|
|
|
|