{% extends "clearance/admin/base.html" %} {% load i18n clearance %} {% block crumbs %}› {% translate 'Roles' %} › {{ role.name }}{% endblock %} {% block content %}

{{ role.code }}

{% if declared %}

{% translate 'Declared in code: it is changed in the ACCESS file, and shown here read only. Who has it is given here.' %}

{% endif %} {% if may_edit and not declared %}
{% csrf_token %}
{% endif %} {% if translatable %}

{% translate 'Its names in other languages' %}

{% endif %}

{% translate 'Ceiling' %}

{% translate 'Whoever has this role may have only what its ceiling permits, whatever a bundle or a grant gives them.' %}

{% csrf_token %}

{% for model, permissions in rows %} {% endfor %}
{{ model }} {% for name, label, permitted in permissions %}{% endfor %}
{% if may_ceiling %}
{% endif %}

{% translate 'Starting bundles' %}

{% if may_edit and other_bundles and not declared %}
{% csrf_token %}
{% endif %}

{% translate 'People with this role' %}

{% if may_edit and assigns %}
{% csrf_token %}
{% elif not assigns %}

{% translate 'Roles are read from each person, not given here.' %}

{% endif %} {% if may_delete and not declared %}

{% translate 'Delete' %}

{% endif %}
{% endblock %}