Adopt users activate with --yes gate and --dry-run preview
seal-use users activate <userId> shipped in v0.4.0 as scaffolding for the automated delegation flow but never made it onto the documented surface, while sealUserActivate stayed reachable through the MCP write gateway — an undocumented, ungated mutation. Adopt it: - Document in the help registry (users area). - Require --yes like its siblings delete/reset-password (CLI layer only; the MCP capability call path is unchanged). - Wire the --dry-run preview already supported by the capability. - Cover the gate and the preview in users.test.ts and dry-run-gates.test.ts.
This commit is contained in:
1 parent
c05b0dc459
commit
d5725e12d1
5 files changed
+50
-2
No files matched your search
@@ -1146,6 +1146,11 @@ export const HELP_REGISTRY: AreaHelp[] = [
|
||||
summary: "Reset user password",
|
||||
usage: ["seal-use users reset-password <userId> [--dry-run] --yes [--corp <corpId>]"]
|
||||
},
|
||||
{
|
||||
name: "activate",
|
||||
summary: "Activate a deactivated (offboarded) tenant user account",
|
||||
usage: ["seal-use users activate <userId> [--dry-run] --yes [--corp <corpId>]"]
|
||||
},
|
||||
{
|
||||
name: "get",
|
||||
summary: "Get user details",
|
||||
|
||||
Reference in new issue
Block a user