security_change_apply
Apply a previewed SingleStore security change—users, roles, grants, or resource pools—only after explicit confirmation, with typed confirmation and blocker checks when required.
Instructions
Run one previewed change (users, roles, groups, grants, resource pools) on the cluster.
Refuses unless ``confirm`` is true: call it only after the user saw the plan (security_change_plan) and
explicitly confirmed. Where the plan asks for it (DROP, revoke all, the connected user or an admin user),
``typed_confirmation`` must be the name the user typed. The plan is rebuilt from fresh cluster state first,
and blockers (lock-out, last admin) refuse the change. ``password`` (create_user, change_password) is sent as a
bound parameter and never returned, logged or stored.
Args:
action: The same action object as for security_change_plan.
confirm: Must be true: the user's explicit confirmation.
typed_confirmation: The object name the user typed, when the plan requires it.
password: The new user's password (create_user) or the new password (change_password).
update_connection: Changing your own password: after it succeeded, also save the new password for the
active saved connection in the OS credential store.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| confirm | No | ||
| password | No | ||
| update_connection | No | ||
| typed_confirmation | No |