Commit 5737261
fix(setup): drop Advanced nav entries for non-listable objects (#2266)
Browser-dogfooding every Setup menu found two Advanced entries that always
render "failed to load": Verifications (sys_verification) and Device Codes
(sys_device_code). Both objects intentionally omit `list` from `apiMethods`
(sensitive ephemeral secrets), so the generic list-view menu 405s every time.
Removed both nav entries + their orphaned zh labels; objects stay reachable by
id. (Re-adding a browse menu needs `list` enabled — a security decision.)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent cfd5ac4 commit 5737261
3 files changed
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
| |||
0 commit comments