{% extends "config/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}{{ role.name }} - Pychestrate Configuration{% endblock %} {% block content %}
View role details and permissions
| Name | {{ role.name }} |
|---|---|
| Description | {{ role.description or '—' }} |
| Type | {% if role.is_system %} Built-in Role {% else %} Custom Role {% endif %} |
| Assigned | {{ role.binding_count }} user{{ '' if role.binding_count == 1 else 's' }} |
| Created | {{ role.created_at | format_datetime('%Y-%m-%d %H:%M:%S', 'Unknown') }} |
Naming the people who have a role needs permission to view users.
{% elif role_holders %}| Name | Username | Applies to |
|---|---|---|
| {% if holder.kind == 'user' and holder.login_name %} {{ holder.label }} {% else %} {{ holder.label }} {% endif %} {% if not holder.is_active %}Deactivated{% endif %} | {{ holder.login_name or '—' }} | {{ holder.scope_label }} |
Showing the first {{ role_holders | length }} of {{ role.binding_count }}.
{% endif %} {% else %}Nobody has this role yet. Give it to a person from their user page.
{% endif %}No permissions assigned
{% endif %}Built-in role: its permissions are defined by the system and cannot be edited or deleted. Copy it to make a version you can change.
{% endif %} Back to List