Repository navigation
fix: hide unavailable Agent Settings panels - #196457
Conversation
Use one capability projection for panel navigation and page-owned reads while preserving authorized read-only content and session Tools previews. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 24d58e34-018f-8955-8085-5b88bcc4cfc5
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: stale review; fresh review needed. Summary Next step Review history (2 earlier review cycles)
|
|
Added the access-request guidance from the review. The 13 focused access tests and English catalog verification pass. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
/refresh-security-review d4caf30 |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…197016) #196457 hides Agent Settings panels the Gateway does not advertise; this fixture's reconnect-github step waits for tools.github.status from the Tools panel, which no longer rendered. Co-authored-by: obviyus <[email protected]>
* fix: hide unavailable Agent Settings panels Use one capability projection for panel navigation and page-owned reads while preserving authorized read-only content and session Tools previews. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: hide unavailable Agent Settings panels Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 24d58e34-018f-8955-8085-5b88bcc4cfc5 * fix(ui): explain how to request Agent Settings access * test(ui): align agent fixtures with advertised access * test(ui): advertise agent file read capabilities * test(ui): account for required agent fixture coverage --------- Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
…penclaw#197016) openclaw#196457 hides Agent Settings panels the Gateway does not advertise; this fixture's reconnect-github step waits for tools.github.status from the Tools panel, which no longer rendered. Co-authored-by: obviyus <[email protected]>
What Problem This Solves
Agent Settings offered management panels that session-only users could not access and attempted forbidden reads when those panels were opened directly.
User Impact
Only available panels and actions are offered. Direct links to restricted panels settle into a clear explanation, including how to request access. Readable Overview facts and the authorized session Tools preview remain available.
Why This Change Was Made
A shared capability projection drives both panel visibility and page-owned read admission. Existing resource owners retain request state and mutation authority. Server permissions do not change.
Evidence
Before
After
Credit: @vyctorbrzezowski reported and directed this change.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by