mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-30 19:12:16 +00:00
fix: permission on nav (#3656)
Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
co-authored by
Livio Amstutz
parent
5901991dd3
commit
17baf252dd
@@ -49,9 +49,11 @@
|
||||
</ng-container>
|
||||
</div>
|
||||
|
||||
<button mat-button class="show-all" [routerLink]="['/orgs']" (click)="closedCard.emit()">
|
||||
{{ 'MENU.SHOWORGS' | translate }}
|
||||
</button>
|
||||
<ng-template cnslHasRole [hasRole]="['iam.read']">
|
||||
<button mat-button class="show-all" [routerLink]="['/orgs']" (click)="closedCard.emit()">
|
||||
{{ 'MENU.SHOWORGS' | translate }}
|
||||
</button>
|
||||
</ng-template>
|
||||
|
||||
<ng-template cnslHasRole [hasRole]="['org.create', 'iam.write']">
|
||||
<button mat-button [routerLink]="['/org/create']" (click)="closedCard.emit()">
|
||||
|
||||
Reference in New Issue
Block a user