[Bug] Agent resource access page loses its sidebar on refresh
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- nextjs, typescript
- Domain
- frontend
Research direction
The missing file is the parallel-route sidebar @detailSidebar/agents/[agentId]/access-config/page.tsx. Compare it with the sidebar routes for the App and Knowledge resource access pages, and with default.tsx, which currently returns null. Add the Agent route by reusing AgentDetailSidebarSlot. Done when the sidebar stays visible after a full refresh and on direct entry to /agents/<agent-id>/access-config.
Written by the indexing model from the issue text.
Description
Self Checks
- I have read the Contributing Guide and Language Policy.
- This is a bug report, not a question for Discussions.
- I have searched for existing issues, including closed ones.
- I confirm that I am using English to submit this report.
- 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- I have filled in the required template fields.
Dify version
Upstream main at c4e011609647a9f4817cdfc0ba8795b6b914c8b4.
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
Prerequisites: Agent V2 and RBAC enabled, with permission to manage an Agent's resource access.
- Open an Agent's Configure page.
- Navigate to Resource Access (
/agents/<agent-id>/access-config) from its detail sidebar. - Refresh the page, or open that URL directly.
✔️ Expected Behavior
The Agent detail sidebar remains visible and allows navigation back to Configure, as it does on App and Knowledge resource access pages.
❌ Actual Behavior
The resource access content loads, but the entire detail sidebar disappears after a full-page load.
The main access-config page exists, but its matching @detailSidebar/agents/[agentId]/access-config/page.tsx is missing. The parallel slot falls back to default.tsx, which returns null. Client-side navigation can mask the omission by retaining the previously active sidebar.
Adding the equivalent sidebar route and reusing AgentDetailSidebarSlot restores refresh and direct entry. This was verified with the upstream frontend and independently confirmed in local testing after backporting the fix. No permission logic changes are required.
- Dominant language
- Python
- Stars
- 160k
- Forks
- 25.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 608
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from langgenius/dify
-
Custom API tool sends unset optional header and cookie parameters as empty values or "None"Possibly taken @TemitopeKadri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
langgenius/dify#46010 · 1 reaction ·
Maintainers usually reply within 1 day
-
Detail sidebar collapse drops keyboard focusPossibly taken @GYJ99 claimed this 1 day ago. Openproject#dify
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
langgenius/dify#45934 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
[Bug] CotAgentOutputParser overwrites action_name with non-input keys and collapses multi-block code fencesPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
langgenius/dify#45324 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Chore/Refactor] bring jieba keyword table handler tests under strict pyreflyMay be free again @Luckyou-d claimed this 7 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
langgenius/dify#45319 · 1 comment ·
Maintainers usually reply within 1 day
-
Parent-child full-doc mode raises IndexError when extraction yields zero documentsPossibly taken @simpleqt claimed this 9 days ago. Open1.18.0
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
langgenius/dify#45272 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
With emit_ontology_keys, one ontology key change is reported as two errors (keys and keys_digest)Possibly taken @rvandewater claimed this today. Openbug priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
iausathub/satchecker#286 ·
Maintainers usually reply within 1 day
-
bug test
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
OpenAssetIO/OpenAssetIO#1527 ·
-
automated endpoint-dead needs-curation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
almanac-data/climate-almanac#128 ·
Maintainers usually reply within 1 day