{% extends 'generic/_base.html' %} {% load static i18n %} {% block title %}{% blocktrans with name=row.label %}Who can: {{ name }}{% endblocktrans %}{% endblock %} {% block subtitle %}
{{ row.app_name }} · {{ row.object_type }}
{% endblock %} {% block head %} {% endblock %} {% block controls %}
{% trans "Back to the matrix" %}
{% endblock %} {% block content %}

{% trans "Groups and users with permissions" %}

{% if principals %}
{% for action in actions %}{% endfor %} {% for principal in principals %} {% for action in actions %} {% endfor %} {% endfor %}
{% trans "Group or user" %}{{ action.label }}
{% if principal.type == "group" %} {{ principal.name }} {% else %} {{ principal.name }} {% endif %} {% 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 %}
{% else %}
{% trans "No group or user has a permission on this object type." %}
{% endif %} {% if hidden_groups or hidden_users %} {% endif %}

{% trans "Effective access" %}

{% blocktrans trimmed %} Every active user who can do something with this object type, directly or through a group. Constrained access applies only to the objects matching the constraints. {% endblocktrans %} {% if hidden_groups %} {% blocktrans trimmed %} Some access comes through groups you cannot view. It is counted here, with "a group you cannot view" as the source. {% endblocktrans %} {% endif %} {% if hidden_effective %} {% trans "Users you cannot view are left out, so this list may be incomplete." %} {% endif %}
{% if effective %}
{% for action in actions %}{% endfor %} {% for row in effective %} {% for action in actions %} {% endfor %} {% endfor %}
{% trans "User" %}{{ action.label }}
{{ row.username }} {% 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 %} {% endif %} {% endfor %}
{% else %}
{% trans "No user has access through permissions." %}
{% endif %}

{% trans "Superusers" %}

{% 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 %}
{% endblock %}