{% extends "settings.html" %} {% block title %} {{ owner.canonical_name }}/{{ ml.name }} settings — {{ cfg("sr.ht", "site-name") }} lists {% endblock %} {% macro perm_checkbox(type, perms, name, readonly=False) %} {% if type.name not in ["none", "normal", "all"] %}
{% endif %} {% endmacro %} {% block content %}
{% if not hide_global %}

Global permissions

{{csrf_token()}}

These permissions allow you to control what kinds of users are able to do what sorts of activities on your mailing list.

Default Permissions

These permissions are used for anyone who does not have a more specific access configuration.

{% for a in access_type_list %} {{ perm_checkbox(a, ml.default_access, "default") }} {% endfor %} {{ valid.summary("list_default_access") }}

The list owner (you) is always granted all permissions.

{{ valid.summary() }}
{% endif %} {% if not hide_user %}

User permissions

{% if any(ml.acls) %} {% for acl in ml.acls %} {% endfor %}
user granted access
{% if acl.user %} ~{{acl.user.username}} {% else %} {{acl.email}} {% endif %} {{ acl.created | date }} {% for a in access_type_list %} {{ perm_checkbox(a, acl.permissions, None, readonly=True) }} {% endfor %}
{{csrf_token()}}
{% endif %}
{{csrf_token()}}
{{valid.summary("user")}}

Access grants

These will override any other permissions for this user.

{% for a in access_type_list %} {{ perm_checkbox(a, ListAccess.all, "acl") }} {% endfor %} {{ valid.summary("list_acl_access") }}
{{ valid.summary() }}
{% endif %}
{% endblock %}