Repository navigation
Commit bc7a86b
committed
fix(app-shell): a Setup catalog switch the caller cannot use states its state and offers no click (objectui#7611)
Measured as an organization administrator (no manage_metadata) on the
permission-set catalog: the switches are disabled, and the read-only
reason says why, but each one still announced "Active — click to
deactivate". That is the same offer-that-does-nothing shape the switch's
label had on a stage-1 framework (finding F3 of round 1). A disabled
switch for a caller who cannot author now reads "Active" or "Inactive",
the status filter's own strings; an author's switch keeps the click
wording, and an audience anchor keeps its reason.
Claude-Session: https://claude.ai/code/session_01Rerax7QTjKMPCUZxQUtPFR
Co-authored-by: Claude <noreply@anthropic.com>1 parent 4c62713 commit bc7a86b
2 files changed
Lines changed: 13 additions & 3 deletions
File tree
- packages/app-shell/src/views/metadata-admin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| 815 | + | |
| 816 | + | |
815 | 817 | | |
816 | 818 | | |
817 | | - | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
818 | 822 | | |
819 | 823 | | |
820 | 824 | | |
| |||
0 commit comments