forked from Ruderverein-Donau-Linz/rowt
use proper permissions
This commit is contained in:
parent
2a2c2ce9dc
commit
8917629613
@ -47,7 +47,7 @@
|
||||
<span class="text-black dark:text-white cursor-pointer">
|
||||
<span class="font-bold">
|
||||
{{ user.name }}
|
||||
{% if not user.last_access and "admin" in loggedin_user.roles and user.mail %}
|
||||
{% if not user.last_access and allowed_to_edit and user.mail %}
|
||||
<form action="/admin/user"
|
||||
method="post"
|
||||
enctype="multipart/form-data"
|
||||
|
Loading…
x
Reference in New Issue
Block a user