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

Access Management

Manage user groups, feature permissions, and user assignments

{{ groups|length }} Groups

Create Group

{% csrf_token %}

Groups ({{ groups|length }})

{% if groups %} {% else %}

No Groups

Create your first group to get started

{% endif %}
{% if not groups %}

Welcome to Access Management

Create your first group to start managing user permissions and feature access across your application.

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

{{ group.group_name }}

{% if group.is_active %}
Active
{% else %}
Inactive
{% endif %}
{% if group.description %}

{{ group.description }}

{% endif %}
{{ group.users.count() }} members assigned
{% csrf_token %}
{% csrf_token %}

Feature Permissions

Select features this group can access

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

No Features Available

Create features first to assign permissions to this group.

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

User Assignment

Search and assign users to this group

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

Select users and save changes to update group membership

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