brainkb_assign_role
(Admin) Assign a role/group to a user by email (e.g. 'Lab Member', 'External', or a custom group). The user must already have a profile (created on first login/registration). NOTE: assigning the 'Admin'/'SuperAdmin' role is SuperAdmin-only (hierarchy: SuperAdmin > Admin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| Yes |