Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4774839

Browse files
Update an authentication comment
Co-authored-by: Many the fish <[email protected]>
1 parent 764df24 commit 4774839

File tree

1 file changed

+1
-1
lines changed
  • meilisearch/src/extractors/authentication

1 file changed

+1
-1
lines changed

meilisearch/src/extractors/authentication/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ pub mod policies {
199199
token: &str,
200200
index: Option<&str>,
201201
) -> Option<AuthFilter> {
202-
// Tenant token will always define an index.
202+
// A tenant token only has access to the search route which always defines an index.
203203
let index = index?;
204204

205205
// Only search action can be accessed by a tenant token.

0 commit comments

Comments
 (0)