Commit 609cb13
feat(spec,platform-objects): action param 'visible' predicate; gate create-user phone on features.phoneNumber (#2871)
ActionParamSchema gains an optional 'visible' (ExpressionInputSchema / CEL),
evaluated against the same scope as action 'visible'. The sys_user create_user
action's phoneNumber param is gated on features.phoneNumber == true, so the form
only offers a phone field when the opt-in phoneNumber auth plugin is loaded —
otherwise admin/create-user rejects the phone. Pairs with objectui's
ActionParamDialog honoring param.visible (objectstack-ai/objectui#<pr>).
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 50c97aa commit 609cb13
3 files changed
Lines changed: 22 additions & 0 deletions
File tree
- .changeset
- packages
- platform-objects/src/identity
- spec/src/ui
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
156 | 161 | | |
157 | 162 | | |
158 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
| |||
0 commit comments