Add 'bot' to the admin edit-user role dropdown (v0.1.0:90)

v89 added the 'bot' role for the Matrix email-review bot's endpoints but kept it
out of the UI, leaving no click-path to assign it. Add 'bot' to the Settings ->
Admin edit-user role dropdown (the teammate-invite form stays member/admin only —
provisioning an agent account is an admin re-classification of a dedicated user,
not a teammate invite). The backend update validator already accepts 'bot'.
Frontend-only, no schema change.
This commit is contained in:
Keysat
2026-06-18 10:13:30 -05:00
parent 5faa5ae4d6
commit 27e9ea5b0b
5 changed files with 29 additions and 6 deletions
+2
View File
@@ -8606,6 +8606,8 @@
>
<option value="member">member</option>
<option value="admin">admin</option>
{/* bot = dedicated agent service account (e.g. the Matrix bot): authenticated but never admin */}
<option value="bot">bot</option>
</select>
</td>
<td>{u.is_active ? 'Active' : 'Inactive'}</td>