mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Editing documents requires the documents.all action (add, get, and del)
This commit is contained in:
parent
81ec0abad1
commit
862d49e4af
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ pub struct DocumentEditionByFunction {
|
|||
}
|
||||
|
||||
pub async fn edit_documents_by_function(
|
||||
index_scheduler: GuardedData<ActionPolicy<{ actions::DOCUMENTS_ADD }>, Data<IndexScheduler>>,
|
||||
index_scheduler: GuardedData<ActionPolicy<{ actions::DOCUMENTS_ALL }>, Data<IndexScheduler>>,
|
||||
index_uid: web::Path<String>,
|
||||
body: AwebJson<DocumentEditionByFunction, DeserrJsonError>,
|
||||
req: HttpRequest,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue