From a1dcde6b9aadc14102ca17d26ab9770d373bf889 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 26 Jun 2024 14:00:21 +0200 Subject: [PATCH] Update meilisearch/src/extractors/authentication/mod.rs Co-authored-by: Many the fish --- meilisearch/src/extractors/authentication/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meilisearch/src/extractors/authentication/mod.rs b/meilisearch/src/extractors/authentication/mod.rs index ecd1cadf8..28a6d770e 100644 --- a/meilisearch/src/extractors/authentication/mod.rs +++ b/meilisearch/src/extractors/authentication/mod.rs @@ -277,7 +277,8 @@ pub mod policies { index: index.to_string(), }); } else { - // Otherwise we can share the + // Otherwise we can share the list + // of authorized indexes in the API key. return Err(AuthError::ApiKeyAccessingnUnauthorizedIndex { index: index.to_string(), allowed: auth_filter.api_key_list_index_authorized(),