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 @@ -422,8 +422,8 @@ class Page(APIView):
422422 tags = [_ ('Knowledge Base/Documentation/Paragraph' )] # type: ignore
423423 )
424424 @has_permissions (
425- PermissionConstants .KNOWLEDGE_DOCUMENT_EDIT .get_workspace_knowledge_permission (),
426- PermissionConstants .KNOWLEDGE_DOCUMENT_EDIT .get_workspace_permission_workspace_manage_role (),
425+ PermissionConstants .KNOWLEDGE_DOCUMENT_READ .get_workspace_knowledge_permission (),
426+ PermissionConstants .KNOWLEDGE_DOCUMENT_READ .get_workspace_permission_workspace_manage_role (),
427427 RoleConstants .WORKSPACE_MANAGE .get_workspace_role (),
428428 ViewPermission ([RoleConstants .USER .get_workspace_role ()],
429429 [PermissionConstants .KNOWLEDGE .get_workspace_knowledge_permission ()], CompareConstants .AND ),
You can’t perform that action at this time.
0 commit comments