Skip to content

Commit 08418b9

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/src/utils/permission/data.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ const PermissionConst = {
9696

9797
APPLICATION_FOLDER_READ: new Permission('APPLICATION_FOLDER:READ'),
9898
APPLICATION_FOLDER_EDIT: new Permission('APPLICATION_FOLDER:READ+EDIT'),
99-
KNOWLEDGE_FOLDER_READ: new Permission('APPLICATION_FOLDER:READ'),
100-
KNOWLEDGE_FOLDER_EDIT: new Permission('APPLICATION_FOLDER:READ+EDIT'),
101-
TOOL_FOLDER_READ: new Permission('APPLICATION_FOLDER:READ'),
102-
TOOL_FOLDER_EDIT: new Permission('APPLICATION_FOLDER:READ+EDIT'),
99+
KNOWLEDGE_FOLDER_READ: new Permission('KNOWLEDGE_FOLDER:READ'),
100+
KNOWLEDGE_FOLDER_EDIT: new Permission('KNOWLEDGE_FOLDER:READ+EDIT'),
101+
TOOL_FOLDER_READ: new Permission('TOOL_FOLDER:READ'),
102+
TOOL_FOLDER_EDIT: new Permission('TOOL_FOLDER:READ+EDIT'),
103103

104104
KNOWLEDGE_READ: new Permission('KNOWLEDGE:READ'),
105105
KNOWLEDGE_CREATE: new Permission('KNOWLEDGE:READ+CREATE'),

0 commit comments

Comments
 (0)