{% load ui_extras %} {% if perms.realms.view_realmgroupmapping %}
| Realm | {% endif %}Claim | Separator | Value | {% if not hide_realm_group %}Group | {% endif %}{% for realm_group_mapping in realm_group_mappings %} |
|---|---|---|---|---|---|
| {% if perms.realms.view_realm %} {{ realm }} {% else %} {{ realm }} {% endif %} | {% endwith %} {% endif %}{{ realm_group_mapping.claim }} | {{ realm_group_mapping.separator|default:"∅" }} | {{ realm_group_mapping.value }} | {% if not hide_realm_group %} {% with realm_group_mapping.realm_group as realm_group %}{% if perms.realms.view_realmgroup %} {{ realm_group.display_name }} {% else %} {{ realm_group }} {% endif %} | {% endwith %} {% endif %}{% if not request.realm_authentication_session.is_remote %} {% if perms.realms.change_realmgroupmapping %} {% url 'realms:update_realm_group_mapping' realm_group_mapping.pk as url %} {% button 'UPDATE' url "Edit group mapping" %} {% endif %} {% if perms.realms.delete_realmgroupmapping %} {% url 'realms:delete_realm_group_mapping' realm_group_mapping.pk as url %} {% button 'DELETE' url "Delete group mapping" %} {% endif %} {% endif %} |