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.