Make permissions hierarchical

This commit is contained in:
evilchili
2025-10-06 17:50:10 -07:00
parent 0e8fd9a1b0
commit 582fd2d9a1
4 changed files with 31 additions and 19 deletions
+1 -1
View File
@@ -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: