allow vorstand to edit boats

This commit is contained in:
2025-02-11 09:22:22 +01:00
parent 5cc77c39ff
commit 3406b66f41
4 changed files with 6 additions and 22 deletions

View File

@ -128,7 +128,7 @@ function setChoiceByLabel(choicesInstance, label) {
<a href="/admin/user"
class="block w-100 py-2 hover:text-primary-600 border-t">Userverwaltung</a>
{% endif %}
{% if "admin" in loggedin_user.roles or "schriftfuehrer" in loggedin_user.roles %}
{% if "admin" in loggedin_user.roles or "Vorstand" in loggedin_user.roles %}
<a href="/admin/boat"
class="block w-100 py-2 hover:text-primary-600 border-t">Boote</a>
{% endif %}