allow 'schriftführer' to edit boats

This commit is contained in:
2025-02-10 18:16:31 +01:00
parent 4f42e7cb8c
commit 4d58bd3cae
4 changed files with 22 additions and 6 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 %}
{% if "admin" in loggedin_user.roles or "schriftfuehrer" in loggedin_user.roles %}
<a href="/admin/boat"
class="block w-100 py-2 hover:text-primary-600 border-t">Boote</a>
{% endif %}