{% load ui_extras %} {% if perms.realms.view_rolemapping %}

Role mapping{{ role_mapping_count|pluralize }} ({{ role_mapping_count }})

{% if create_role_mapping_url %} {% button 'CREATE' create_role_mapping_url "Create new role mapping" %} {% endif %}
{% if role_mapping_count %}
{% if not hide_realm %} {% endif %} {% if not hide_realm_group %} {% endif %} {% if not hide_role %} {% endif %} {% for role_mapping in role_mappings %} {% if not hide_realm %} {% with role_mapping.realm_group.realm as realm %} {% endwith %} {% endif %} {% if not hide_realm_group %} {% with role_mapping.realm_group as realm_group %} {% endwith %} {% endif %} {% if not hide_role %} {% with role_mapping.group as group %} {% endwith %} {% endif %} {% endfor %}
RealmGroupRole
{% if perms.realms.view_realm %} {{ realm }} {% else %} {{ realm }} {% endif %} {% if perms.realms.view_realmgroup %} {{ realm_group.display_name }} {% else %} {{ realm_group.display_name }} {% endif %} {% if perms.auth.view_group %} {{ role_mapping.group }} {% else %} {{ group }} {% endif %} {% if not request.realm_authentication_session.is_remote %} {% if perms.realms.change_rolemapping %} {% url 'realms:update_role_mapping' role_mapping.pk as url %} {% button 'UPDATE' url "Edit role mapping" %} {% endif %} {% if perms.realms.delete_rolemapping %} {% url 'realms:delete_role_mapping' role_mapping.pk as url %} {% button 'DELETE' url "Delete role mapping" %} {% endif %} {% endif %}
{% endif %} {% endif %}