{% extends "layouts/base.html" %} {% load static %} {% block title %}Delete Role - {{ role.name }}{% endblock %} {% block extra_css %} {% endblock extra_css %} {% block breadcrumb %} {% endblock breadcrumb %} {% block content %}

Delete Role

This action cannot be undone

{{ role.name }}
{% if role.description %}

{{ role.description }}

{% endif %}
Role Name {{ role.name }}
Users with this Role {{ role.user_set.count }} user{{ role.user_set.count|pluralize }}
Permissions {{ role.permissions.count }} permission{{ role.permissions.count|pluralize }}
Created {{ role.date_created|date:"M d, Y"|default:"Unknown" }}
Warning: Permanent Deletion

You are about to permanently delete this role. This action will affect all users assigned to this role and cannot be undone.

The following will be permanently deleted:
  • Role definition and configuration
  • Role assignments from all users ({{ role.user_set.count }} affected user{{ role.user_set.count|pluralize }})
  • All permissions associated with this role
  • Role-based access controls and restrictions
{% if role.user_set.count > 0 %}
Impact Warning: {{ role.user_set.count }} user{{ role.user_set.count|pluralize }} currently have{{ role.user_set.count|pluralize:",s" }} this role. They will lose all permissions associated with this role.
{% endif %}
{% csrf_token %}
Cancel
{% endblock content %} {% block extra_js %} {% endblock extra_js %}