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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user