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

Groups

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

Search and assign users to this group

found

Search for Users

Start typing a username or email address in the search box above to find and assign users to this group.

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

No Users Found

No users match ""

Try a different search term

{% else %}

No Users Available

No users found in the system to assign to groups.

{% endif %}
{% if users %}

Select users and click update to save changes

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