{% extends 'generic/_base.html' %} {% load static i18n %} {% block title %}{% blocktrans with name=row.label %}Who can: {{ name }}{% endblocktrans %}{% endblock %} {% block subtitle %}
{{ row.object_type }}| {% trans "Group or user" %} | {% for action in actions %}{{ action.label }} | {% endfor %}
|---|---|
| {% if principal.type == "group" %} {{ principal.name }} {% else %} {{ principal.name }} {% endif %} | {% for action in actions %}{% for name, cell in principal.cells.items %} {% if name == action.name %} {% include 'netbox_permissions_matrix_plugin/inc/state.html' with state=cell.state cell_perms=cell.perms %} {% endif %} {% endfor %} | {% endfor %}
| {% trans "User" %} | {% for action in actions %}{{ action.label }} | {% endfor %}
|---|---|
| {{ row.username }} | {% for action in actions %}
{% for name, cell in row.actions.items %}
{% if name == action.name %}
{% include 'netbox_permissions_matrix_plugin/inc/state.html' with state=cell.state cell_perms=None %}
{{ cell.sources|join:", " }}
{% for c in cell.constraints %}{{ c }} |
{% endfor %}
{% trans "Superusers bypass permissions and can do everything." %}
{% for su in superusers %} {{ su.username }} {% empty %} {% trans "None" %} {% endfor %} {% if hidden_superusers %}{% trans "Some superusers are not listed: you cannot view them." %}
{% endif %}