Skip to content

Commit

Permalink
Update permissions for attributes in participant views (#3585) (#3588)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schieder authored Apr 18, 2024
1 parent 2257ff4 commit 47000cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,7 @@ <h4>{{ 'Name' | translate }}</h4>
>
block
</mat-icon>
<mat-icon
*ngIf="!user.is_physical_person && isAllowed('update')"
matTooltip="{{ 'Is no natural person' | translate }}"
>
<mat-icon *ngIf="!user.is_physical_person" matTooltip="{{ 'Is no natural person' | translate }}">
account_balance
</mat-icon>
<mat-icon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ <h2>{{ 'Participants' | translate }}</h2>
<mat-icon matTooltip="{{ 'Inactive' | translate }}" *ngIf="!user.is_active && canSeeSensitiveData">
block
</mat-icon>
<mat-icon matTooltip="{{ 'Has SSO identification' | translate }}" *ngIf="user.hasSamlId && canManage">
<mat-icon
matTooltip="{{ 'Has SSO identification' | translate }}"
*ngIf="user.hasSamlId && canSeeSensitiveData"
>
fingerprint
</mat-icon>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class ParticipantListFilterService extends BaseMeetingFilterListService<V
{
property: `hasSamlId`,
shouldHideFn: (): boolean => {
return !this.operator.hasPerms(Permission.userCanManage);
return !this.operator.hasPerms(Permission.userCanSeeSensitiveData);
}
},
{
Expand Down

0 comments on commit 47000cd

Please sign in to comment.