Skip to content

fix: add EXTENDS_ADMIN role to permissions for enhanced access control - #6573

Merged
wxg0103 merged 1 commit into
v2from
pr@v2@fix_share_document_upload
Aug 4, 2026
Merged

fix: add EXTENDS_ADMIN role to permissions for enhanced access control#6573
wxg0103 merged 1 commit into
v2from
pr@v2@fix_share_document_upload

Conversation

@shaohuzhang1

Copy link
Copy Markdown
Contributor

fix: add EXTENDS_ADMIN role to permissions for enhanced access control

Copilot AI lite review requested due to automatic review settings August 4, 2026 04:03
@shaohuzhang1

Copy link
Copy Markdown
Contributor Author

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

@wxg0103
wxg0103 merged commit cb3412e into v2 Aug 4, 2026
5 of 7 checks passed
@wxg0103
wxg0103 deleted the pr@v2@fix_share_document_upload branch August 4, 2026 04:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands frontend route access control for the Knowledge module by allowing the EXTENDS_ADMIN role to satisfy the route’s permission requirements, aligning it with existing role checks elsewhere in the UI.

Changes:

  • Add RoleConst.EXTENDS_ADMIN to the Knowledge router module’s meta.permission list so extended admins can access /knowledge routes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants