{% extends "vantage/base.html" %} {% load static vantage i18n %} {% block head %} {% endblock %} {% block content %}
{% if target.name %}{{ target.name }} · {% endif %}{% if target.email %}{{ target.email }} · {% endif %}{{ page_description }}
{% translate "This account is a superuser: it holds every permission, whatever is listed below." %}
{% endif %} {% if not target.active %}{% translate "This account is inactive, so none of these permissions currently apply." %}
{% endif %}{% translate "No roles." %}
{% endif %}| {% translate "Permission" %} | {% translate "Code" %} | {% translate "Granted by" %} |
|---|---|---|
| {{ app }} | ||
| {{ row.permission.name }} | {{ row.label }} | {% if row.direct %}{% translate "Direct grant" %}{% endif %} {% for role in row.roles %}{{ role.name }}{% endfor %} |
{% translate "No permissions from roles or direct grants." %}
{% translate "Lists what the database grants through roles and directly. A custom authentication backend may grant more." %}
{% endblock %}