mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Editing documents requires the documents.all action (add, get, and del)
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user