{% extends "layouts/dashboard.html" %} {% block title %}New permission — IILMP{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

New permission

Add a custom Django auth permission so it can be assigned to a role.

Back to roles
{% include "components/rims_page_intro.html" with eyebrow="New permission" heading="Define a named capability and tie it to a content type." description="Most permissions are auto-generated by Django from your models (add/change/delete/view). Use this form when you need a cross-cutting capability that isn't tied to a single model action — for example, a 'view dashboard' or 'export reports' permission that several views check by codename." %}
{% csrf_token %} {% if error %} {% endif %}

Display name is shown in the role-permission matrix. The codename is what your code checks via user.has_perm("app_label.codename").

Letters, digits, and underscores only. Used in code (has_perm).

Permissions attach to a content type (model). Pick the most relevant one — it groups the permission in the matrix.

Cancel
{% endblock %}