Merge pull request #5930 from FinnStutzenstein/losPermissions
Fix usage of osPerms
This commit is contained in:
commit
c35cacebb1
@ -141,7 +141,7 @@
|
|||||||
<span>{{ 'Deselect all' | translate }}</span>
|
<span>{{ 'Deselect all' | translate }}</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<ng-container *osPerms="'motions.can_manage'; or: 'motions.can_manage_metadata'">
|
<ng-container *osPerms="['motions.can_manage', 'motions.can_manage_metadata']">
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<os-motion-multiselect-actions [selectedMotions]="selectedRows" (action)="multiselectWrapper($event)">
|
<os-motion-multiselect-actions [selectedMotions]="selectedRows" (action)="multiselectWrapper($event)">
|
||||||
</os-motion-multiselect-actions>
|
</os-motion-multiselect-actions>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Menu -->
|
<!-- Menu -->
|
||||||
<div class="menu-slot" *osPerms="'agenda.can_manage'; or: 'agenda.can_see_list_of_speakers'">
|
<div class="menu-slot" *osPerms="['agenda.can_manage', 'agenda.can_see_list_of_speakers']">
|
||||||
<button type="button" mat-icon-button [matMenuTriggerFor]="topicExtraMenu">
|
<button type="button" mat-icon-button [matMenuTriggerFor]="topicExtraMenu">
|
||||||
<mat-icon>more_vert</mat-icon>
|
<mat-icon>more_vert</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user