✨(backend) add API endpoint to list a document's children
This endpoint is nested under a document's detail endpoint.
This commit is contained in:
committed by
Anthony LC
parent
4333b46901
commit
7ff4bc457f
@@ -584,6 +584,7 @@ class Document(MP_Node, BaseModel):
|
||||
"ai_transform": can_update,
|
||||
"ai_translate": can_update,
|
||||
"attachment_upload": can_update,
|
||||
"children": can_get,
|
||||
"collaboration_auth": can_get,
|
||||
"destroy": RoleChoices.OWNER in roles,
|
||||
"favorite": can_get and user.is_authenticated,
|
||||
|
||||
Reference in New Issue
Block a user