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:
@@ -0,0 +1,19 @@
|
||||
import { VersionInfo } from '@start9labs/start-sdk'
|
||||
|
||||
// Follow-up to v0.1.0:89: give admins a UI path to provision the 'bot' role. v89 added the role
|
||||
// (for the Matrix email-review bot's endpoints) but deliberately kept it out of the UI, leaving
|
||||
// no click-path to assign it. This adds '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). Backend already accepts it.
|
||||
// Frontend-only, no schema change.
|
||||
export const v_0_1_0_90 = VersionInfo.of({
|
||||
version: '0.1.0:90',
|
||||
releaseNotes: {
|
||||
en_US: [
|
||||
'Admin user management: the role dropdown now offers "bot" (a dedicated agent service',
|
||||
'account — authenticated but never admin), so the Matrix review bot\'s CRM user can be',
|
||||
'provisioned in two clicks.',
|
||||
].join(' '),
|
||||
},
|
||||
migrations: { up: async () => {}, down: async () => {} },
|
||||
})
|
||||
Reference in New Issue
Block a user