Make permissions hierarchical
This commit is contained in:
1 parent
0e8fd9a1b0
commit
582fd2d9a1
4 files changed
+31
-19
No files matched your search
@@ -19,7 +19,7 @@
|
||||
{% if session['user_id'] == 1 %}
|
||||
Welcome, {{ user['name'] }}. [ <a href="{{ url_for('login') }}">LOGIN</a> ]
|
||||
{% else %}
|
||||
Welcome, <a href="{{ url_for('User/' + user['name']) }}">{{ user['name'] }}</a>.
|
||||
Welcome, <a href="{{ url_for('view', path='User/' + user['name']) }}">{{ user['name'] }}</a>.
|
||||
{% endif %}
|
||||
<nav>
|
||||
Menu:
|
||||
|
||||
Reference in new issue
Block a user