{% extends "useradmin/base.html" %} {% block extra_tab_group %} {% if group %}
  • Group details
  • {% endif %} {% endblock %} {% block content %} {% if group %}

    Editing group "{{ group.name }}"

    {% else %}

    Create new group

    {% endif %} {% if group_form %}
    {{ group_form.as_table }}
    {% endif %} {% if group %} {% if not group.is_system_group %}

    [ Delete group ]

    {% endif %}

    Privileges

    {% if group.privilege_set.all %} {% else %}

    Group has no privileges set.

    {% endif %} {% if privilege_form %}

    Grant privileges

    See this HOWTO on the Regular expressions used for matching targets for privileges like 'web_access'.

    {{ privilege_form.errors }}

    {{ privilege_form.type }} {{ privilege_form.target }}

    {% endif %}

    Group memberships

    {% if group.accounts.all %} {% else %}

    Group does not have any members.

    {% endif %} {% if account_form %}

    Add member

    {{ account_form.account.errors }}

    {{ account_form.account }}

    {% endif %} {% endif %} {% endblock %}