simple role management

This commit is contained in:
2020-04-25 14:53:35 +02:00
committed by smuddy
parent 732353f5bd
commit e17b8acc9c
29 changed files with 219 additions and 31 deletions

View File

@@ -1,8 +1,8 @@
<nav [class.hidden]="(windowScroll$|async)>60" class="head">
<div class="links">
<app-link [icon]="faSongs" link="/songs" text="Lieder"></app-link>
<app-link [icon]="faShows" link="/shows" text="Veranstaltungen"></app-link>
<app-link [icon]="faPresentation" link="/presentation" text="Präsentation"></app-link>
<app-link *appRole="['user','presenter', 'leader']" [icon]="faSongs" link="/songs" text="Lieder"></app-link>
<app-link *appRole="['leader']" [icon]="faShows" link="/shows" text="Veranstaltungen"></app-link>
<app-link *appRole="['presenter']" [icon]="faPresentation" link="/presentation" text="Präsentation"></app-link>
<app-link [icon]="faUser" link="/user" text="Benutzer"></app-link>
</div>
<div class="actions">