Skip to content

Conversation

@shaohuzhang1
Copy link
Contributor

fix: Root folder permission of knowledge and tool --bug=1062946 --user=张展玮 【资源授权】为普通用户授权知识库、工具根目录的管理权限,普通用户不能管理知识库、工具的根目录 https://www.tapd.cn/62980211/s/1789640

--bug=1062946 --user=张展玮 【资源授权】为普通用户授权知识库、工具根目录的管理权限,普通用户不能管理知识库、工具的根目录 https://www.tapd.cn/62980211/s/1789640
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Oct 24, 2025

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Oct 24, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

TOOL_FOLDER_EDIT: new Permission('TOOL_FOLDER:READ+EDIT'),

KNOWLEDGE_READ: new Permission('KNOWLEDGE:READ'),
KNOWLEDGE_CREATE: new Permission('KNOWLEDGE:READ+CREATE'),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The code provided has consistent changes to folder permissions. There are no errors or specific issues identified. The updates ensure that each permission is correctly associated with its respective resource type. The optimized version of the code maintains clarity and adheres to existing pattern while changing resource types for Knowledge folders as opposed to Application folders previously specified.

@zhanweizhang7 zhanweizhang7 merged commit 08418b9 into v2 Oct 24, 2025
4 of 5 checks passed
@zhanweizhang7 zhanweizhang7 deleted the pr@v2@fix_root_folder branch October 24, 2025 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants