File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,8 @@ class Split(APIView):
175175 tags = [_ ('Knowledge Base/Documentation' )] # type: ignore
176176 )
177177 @has_permissions (
178- PermissionConstants .KNOWLEDGE_DOCUMENT_CREATE .get_workspace_knowledge_permission (),
179- PermissionConstants .KNOWLEDGE_DOCUMENT_EDIT . get_workspace_knowledge_permission (),
178+ PermissionConstants .KNOWLEDGE_DOCUMENT_READ .get_workspace_knowledge_permission (),
179+ PermissionConstants .KNOWLEDGE_DOCUMENT_READ . get_workspace_permission_workspace_manage_role (),
180180 RoleConstants .WORKSPACE_MANAGE .get_workspace_role (),
181181 ViewPermission ([RoleConstants .USER .get_workspace_role ()],
182182 [PermissionConstants .KNOWLEDGE .get_workspace_knowledge_permission ()], CompareConstants .AND ),
You can’t perform that action at this time.
0 commit comments