Skip to content
Snippets Groups Projects
Commit a1ea3701 authored by Julian's avatar Julian
Browse files

Don't list base roles in selfservice (follow-up to !33)

parent d7f6a35e
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
You currently have these roles: You currently have these roles:
{% endif %} {% endif %}
<ul> <ul>
{% for role in user.roles|sort(attribute="name") %} {% for role in user.roles|sort(attribute="name") if role.name not in config["ROLES_BASEROLES"] %}
<li>{{ role.name }}</li> <li>{{ role.name }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment