fix: Root folder permission of knowledge and tool#4248
Conversation
--bug=1062946 --user=张展玮 【资源授权】为普通用户授权知识库、工具根目录的管理权限,普通用户不能管理知识库、工具的根目录 https://www.tapd.cn/62980211/s/1789640
|
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. DetailsInstructions 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. |
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| TOOL_FOLDER_EDIT: new Permission('TOOL_FOLDER:READ+EDIT'), | ||
|
|
||
| KNOWLEDGE_READ: new Permission('KNOWLEDGE:READ'), | ||
| KNOWLEDGE_CREATE: new Permission('KNOWLEDGE:READ+CREATE'), |
There was a problem hiding this comment.
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.
fix: Root folder permission of knowledge and tool --bug=1062946 --user=张展玮 【资源授权】为普通用户授权知识库、工具根目录的管理权限,普通用户不能管理知识库、工具的根目录 https://www.tapd.cn/62980211/s/1789640