{% extends "base.html" %} {#- Settings → Profiles: the permission profiles runs start their turns with, edited by the owner only. Expects: profiles, modes, kinds, rights (name, label), per_day, fixed_lines, fixed_disallowed, optional message, error. -#} {% block title %}Profiles · relaybay{% endblock %} {% block crumbs %}/Settings/Profiles{% endblock %} {% macro profile_fields(p) %}

Always taken away, whatever this list says: {{ fixed_disallowed|join(", ") }}.

Board rights (stored and shown; the coordinator's run enforces them) {% for name, label in rights %} {% endfor %}
For run kinds {% for k in kinds %} {% endfor %}
{% endmacro %} {% block content %}

Profiles

{% with tab = "profiles" %}{% include "_settings_tabs.html" %}{% endwith %} {% if message %}

{{ message }}

{% endif %} {% if error %}{% endif %}

Permission profiles

What a run's turns start with: the permission mode, the allowed and the taken-away tools. Every turn reads its run's profile when it starts, so an edit takes effect on the next turn of every run that uses it, and the turn records the profile's version. A run whose mode was picked on its Start form or changed between turns keeps that mode; its tools still follow the profile. A project's agent defaults on Stands & access name the profile for its cards.

{% for p in profiles %} {% endfor %}
NameModeKindsVersionUsed by
{{ p.name }}{% if p.builtin %} (shipped){% endif %} {{ p.permission_mode }} {{ p.kinds|join(", ") }} {{ p.version }} {% if p.projects %}{{ p.projects|length }} project{{ "s" if p.projects|length != 1 }}{% else %}none{% endif %}

Fixed, in every profile

{% for p in profiles %}

{{ p.name }}{% if p.builtin %} (shipped){% endif %}

Version {{ p.version }}, changed by {{ p.updated_by }}.{% if p.projects %} Used by {{ p.projects|join(", ") }}.{% endif %}

{{ profile_fields(p) }}
{% if p.builtin %}
{% elif not p.projects %}
{% endif %}
{% endfor %}

New profile

{{ profile_fields(none) }}
{% endblock %}