Add hasrole route decorator, more checks, refactor
This commit is contained in:
parent
e44d89e512
commit
09d9bc0a7d
3 changed files with 102 additions and 72 deletions
|
@ -169,9 +169,11 @@
|
|||
</p>
|
||||
<div id="links-to-check">
|
||||
<a href="public">Public</a>
|
||||
<a href="protected">Access protected content</a>
|
||||
<a href="protected-by-foorole">Access + foorole protected content</a>
|
||||
<a href="protected-by-barrole">Access + barrole protected content</a>
|
||||
<a href="protected">Auth protected content</a>
|
||||
<a href="protected-by-foorole">Auth + foorole protected content</a>
|
||||
<a href="protected-by-barrole">Auth + barrole protected content</a>
|
||||
<a href="protected-by-foorole-and-barrole">Auth + foorole and barrole protected content</a>
|
||||
<a href="protected-by-foorole-or-barrole">Auth + foorole or barrole protected content</a>
|
||||
<a href="other">Other</a>
|
||||
</div>
|
||||
{% if user and settings.oidc.show_session_details %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue