Skip to content

Commit

Permalink
Update the perms in singleItemMenu of participant-list (#3561) (#3578)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schieder authored Apr 17, 2024
1 parent 772a281 commit 2257ff4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ <h2>{{ 'Participants' | translate }}</h2>
<span>{{ 'Present' | translate }}</span>
</mat-checkbox>

<button *osPerms="permission.userCanManage" mat-menu-item (click)="openEditInfo(user)">
<button *osPerms="permission.userCanUpdate" mat-menu-item (click)="openEditInfo(user)">
<mat-icon>edit</mat-icon>
<span>{{ 'Edit details' | translate }}</span>
</button>

<button *osPerms="permission.userCanManage" mat-menu-item (click)="switchParticipants(user)">
<button *osPerms="permission.userCanUpdate" mat-menu-item (click)="switchParticipants(user)">
<mat-icon>swap_horiz</mat-icon>
<span>{{ 'Swap mandates' | translate }}</span>
</button>
Expand All @@ -194,7 +194,7 @@ <h2>{{ 'Participants' | translate }}</h2>
<span>{{ 'Change password' | translate }}</span>
</button>

<button *osPerms="permission.userCanManage" mat-menu-item (click)="sendInvitationEmail(user)">
<button *osPerms="permission.userCanUpdate" mat-menu-item (click)="sendInvitationEmail(user)">
<mat-icon>mail</mat-icon>
<span>{{ 'Send invitation email' | translate }}</span>
</button>
Expand Down

0 comments on commit 2257ff4

Please sign in to comment.