{% extends "shared/base.html" %} {% block title %}{{ role.name }} Access · Seva Setu{% endblock %} {% block content %}
← Access Control

{{ role.name }}

Control what this role can do and what navigation it can see.

Menu access

Checked menus are shown to users with this role. Public Home, Seva Bhaav and Seva Daan remain available separately.

{% set selected_menu_ids = role.menu_items|map(attribute='id')|list %}{% for section, label in [('EMPLOYEE','Employee'),('MANAGER','Manager'),('ADMIN','Admin')] %}

{{ label }} menu

{% for item in menus if item.section == section %}
{% endfor %}
{% endfor %}

Functional permissions

Permissions control server-side actions. Menu visibility alone never grants a protected action.

{% set selected_permission_ids = role.permissions|map(attribute='id')|list %}
{% for permission in permissions %}
{% endfor %}
{% endblock %}