Show/hide parts based on controller auth/role
Backend permissions is based on Roles + Controllers authorization. Frontend might want to show/hide parts based on the role:
- Hide 'Add Channel' button for viewers
- Show Admin panel (not yet coded) for Supporters
Plan would be to improve the current isauthenticated
to get the same authorizationBag
backend is using, so the frontend will be able to shiw/hide stuff based on
isAnonymous
isInternal
isViewer