Switch the shared demo token and navigate through the guarded pages to see how the same OPA permissions drive both routed access and in-page UI state.

Directive demo

Template access checks

The shared token in the app shell flows through provideAuthz() as defaultInput .

Organisationsverwaltung

Requires ADMIN .

Access denied

Kundenverwaltung

Allows ADMIN and MODERATOR .

Access allowed

Hook demo

Interactive useAuthz playground


Result
true
Error
Loading
false
Shell token
MODERATOR