{% extends "base.html" %} {% block title %}Permission Master{% endblock %} {% block header %}Permission Master{% endblock %} {% block content %}
{% set total_permissions = perms|length if perms else 0 %}
Access Control

Permission Master

Create and maintain permission codes used by routes, menus, templates and role access rules.
Total Permissions
{{ total_permissions }}
Permissions
{{ total_permissions }}
Permission codes configured
Current Search
{% if q %}Active{% else %}All{% endif %}
{% if q %} Filtered by "{{ q }}" {% else %} Showing all permissions {% endif %}
Code Format
module.action
Recommended naming pattern
Create Permission
New Permission Code
Define a permission that can be assigned to roles, menus or checked inside route decorators.
Recommended Format
module.action operations.jobcard.view admin.permissions.manage kpi.assignment.manage
Permission code should be stable because it may be used in routes and templates.
Use lowercase module/action naming where possible.
Search
Find Permission
Search by permission code or description.
Permissions
Permission Registry
Update descriptions while keeping permission codes stable.
{{ total_permissions }} Permission(s) Download Excel
{% if perms and perms|length > 0 %}
{% for p in perms %} {% endfor %}
Code Description Update Description
{{ p.code }}
{{ p.description or "No description added." }}
Note: Permission code is treated as immutable once used in routes, menus or templates. Only update the description from this screen.
{% else %}
No permissions found
{% if q %} No permission matched your search. Try clearing the filter. {% else %} Create your first permission using the form on the left. {% endif %}
{% if q %} Clear Search {% endif %}
{% endif %}
{% endblock %}