1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{% extends "op_layout.html" %}
{% block title %}Edit {{ slug }} — {{ brand_name | default(value='Rustango Operator Console') }}{% endblock %}
{% block content %}
Organizations
›
{{ slug }}
›
edit
Edit {{ slug }}
Adjust the live config for this tenant. Locked fields stay where they
are — re-provisioning needs cargo run -- create-tenant /
drop-tenant. Inputs are generated from
Org::SCHEMA via
rustango::admin::render::render_input, so new columns
added to Org show up here without template edits.
{% if error %}{{ error }}{% endif %}
{% if notice %}{{ notice }}{% endif %}
Locked
{% for row in locked_rows %}
{{ row.name }}
{% if row.value %}{{ row.value }}{% else %}None{% endif %}
{% endfor %}
Editable
{% for row in editable_rows %}
{{ row.name }}
{{ row.input | safe }}
{% if row.helper %}{{ row.helper }}{% endif %}
{% endfor %}
Save
Cancel
Branding assets
Logo
{% if logo_url %}{% endif %}
PNG, JPEG, or WebP. Max 1 MB. Leave empty to keep the current logo.
Favicon
{% if favicon_url %}{% endif %}
PNG or ICO. Max 1 MB. Leave empty to keep the current favicon.
Save branding assets
{# v0.27.8 (#78) — Open admin as superuser. Posts to
/orgs/{slug}/impersonate which mints a short-lived tenant
session cookie (1h default), pinned to this slug, and 302s
to the tenant admin's /__admin/. Banner + audit entries make
the session visible + traceable. Hidden if impersonation
wasn't enabled at boot (the operator console route only
mounts when the tenant session secret is shared). #}
{% if impersonate_enabled %}
Impersonate (sign in as superuser)
Open this tenant's admin as a synthetic operator-superuser.
You'll see an unmissable banner during the session; every
write is recorded as
operator:<your-id>:impersonating in the
tenant's audit log. Session expires after the configured
TTL (default 1 hour).
Open admin as superuser →
{% endif %}
{% endblock %}