From 47748395dcfcbc78acb2838ebcf3cb5afa4b871b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 13 Feb 2023 17:20:08 +0100 Subject: [PATCH] Update an authentication comment Co-authored-by: Many the fish --- meilisearch/src/extractors/authentication/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch/src/extractors/authentication/mod.rs b/meilisearch/src/extractors/authentication/mod.rs index 4836679a9..84b598689 100644 --- a/meilisearch/src/extractors/authentication/mod.rs +++ b/meilisearch/src/extractors/authentication/mod.rs @@ -199,7 +199,7 @@ pub mod policies { token: &str, index: Option<&str>, ) -> Option { - // Tenant token will always define an index. + // A tenant token only has access to the search route which always defines an index. let index = index?; // Only search action can be accessed by a tenant token.