{% extends "base.html" %} {% block title %}New Role — {{ library_name() }}{% endblock %} {% block content %}

Create Role

{% if error %}

{{ error }}

{% endif %}
Permissions
{% for category, perms in permission_groups %}
{{ category }} {% set _scoped = namespace(v=false) %} {% for p in perms %}{% if p.endswith('.self') or p.endswith('.any') %}{% set _scoped.v = true %}{% endif %}{% endfor %} {% if _scoped.v %}

Permissions ending in .self apply only to the signed-in user's own records; .any applies to any patron's.

{% endif %} {% for perm in perms %} {% endfor %}
{% endfor %}
Cancel
{% endblock %} {% block scripts %} {% endblock %}