{% extends "dashboard/base.html" %} {% block title %}Access Management{% endblock %} {% block content %}

Access Management

Manage user groups, feature permissions, and user assignments.

Create New Group

{% csrf_token %}
{% if not groups %}

No Groups Found

Create a group to get started.

{% else %} {% for group in groups %}

{{ group.group_name }}

{% if group.description %}

{{ group.description }}

{% endif %}
{{ group.permission_level|title }} Access {% if group.is_active %} Active {% else %} Inactive {% endif %}
{% csrf_token %}
{% csrf_token %}
{% csrf_token %}

Feature Permissions

Select the features this group can access.

{% if features %}
{% for feature in features %} {% if feature.url_name != 'access_management' %} {% endif %} {% endfor %}
{% else %}

No Features Available

Create features first to assign permissions.

{% endif %}
{% if features %}
{% endif %}
{% csrf_token %}

User Assignment

Assign users to this group by searching below.

Start typing to search for users

{% if users %}
{% for user in users %} {% if user.role != 'superadmin' and user.role != 'super_admin' %} {% endif %} {% endfor %}
{% else %}

No Users Available

No users found to assign to groups.

{% endif %}
{% if users %}
{% endif %}
{% endfor %} {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}