{% extends "base.html" %} {% block title %}Role Permissions Management{% endblock %} {% block head %} {% endblock %} {% block content %}

Role Permissions Management

Configure granular access permissions for each role in the system

{% for role_name, role_data in roles.items() %}
{{ role_data.display_name }}
Level {{ role_data.level }}
{% endfor %}
{% for role_name, role_data in roles.items() %}

{{ role_data.display_name }} Permissions Summary

{{ role_data.description }}

0
Total Permissions
0
Granted
0
Denied
{% for page_key, page_data in pages.items() %}
{% for section_key, section_data in page_data.sections.items() %}
{{ section_data.name }} 0/{{ section_data.actions|length }}
{% for action in section_data.actions %}
{% if action == 'view' %}👁{% elif action == 'create' %}➕{% elif action == 'edit' %}✏️{% elif action == 'delete' %}🗑{% elif action == 'upload' %}📤{% elif action == 'download' %}📥{% elif action == 'export' %}📊{% elif action == 'import' %}📈{% endif %}
{{ action_names.get(action, action) }}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}