fix ban page access

This commit is contained in:
imperosol committed 2025-01-10 01:29:24 +01:00
1 parent 894690a97f
commit 8b8a295e16
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
<li><a href="{{ url('rootplace:operation_logs') }}">{% trans %}Operation logs{% endtrans %}</a></li>
<li><a href="{{ url('rootplace:delete_forum_messages') }}">{% trans %}Delete user's forum messages{% endtrans %}</a></li>
{% endif %}
{% if user.has_perm("core:view_userban") %}
{% if user.has_perm("core.view_userban") %}
<li><a href="{{ url("rootplace:ban_list") }}">{% trans %}Bans{% endtrans %}</a></li>
{% endif %}
{% if user.can_create_subscription or user.is_root %}