{% extends "base.html" %} {% block content %}
{{ _('Back to User') }}

{{ _('Manage Roles for') }}: {{ user.username }}

{{ _('Assign Roles') }}

{{ _('Select the roles this user should have. Users inherit all permissions from their assigned roles.') }}

{% for role in all_roles %} {% endfor %}
{{ _('Cancel') }}

{{ _('Current Effective Permissions') }}

{{ _('These are all the permissions the user currently has through their roles:') }}

{% set user_permissions = user.get_all_permissions() %} {% if user_permissions %}
{% for permission in user_permissions %}
{{ permission.name.replace('_', ' ').title() }}
{% endfor %}
{% else %}

{{ _('No permissions (assign roles to grant permissions)') }}

{% endif %}
{% endblock %}