mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 23:45:07 +00:00
fix(console): allow user filtering with read permission (#8152)
# Which Problems Are Solved The filter option was not displayed on the user list page for users who only have `user.read` permission, e.g. an IAM_OWNER_VIEWER or ORG_OWNER_VIEWER # How the Problems Are Solved - Filter is correctly displayed. # Additional Changes None. # Additional Context - noticed by a customer - needs backports
This commit is contained in:
parent
0af37d45e9
commit
11d01b9b35
@ -57,11 +57,14 @@
|
||||
</cnsl-action-keys>
|
||||
</div>
|
||||
</button>
|
||||
<cnsl-filter-user
|
||||
*ngIf="!selection.hasValue()"
|
||||
(filterChanged)="applySearchQuery($any($event))"
|
||||
(filterOpen)="filterOpen = $event"
|
||||
></cnsl-filter-user>
|
||||
</ng-template>
|
||||
<cnsl-filter-user
|
||||
actions
|
||||
*ngIf="!selection.hasValue()"
|
||||
(filterChanged)="applySearchQuery($any($event))"
|
||||
(filterOpen)="filterOpen = $event"
|
||||
></cnsl-filter-user>
|
||||
<ng-template cnslHasRole [hasRole]="['user.write']" actions>
|
||||
<button
|
||||
(click)="gotoRouterLink(['/users', type === Type.TYPE_HUMAN ? 'create' : 'create-machine'])"
|
||||
color="primary"
|
||||
|
Loading…
Reference in New Issue
Block a user