mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Update an authentication comment
Co-authored-by: Many the fish <many@meilisearch.com>
This commit is contained in:
parent
764df24b7d
commit
47748395dc
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ pub mod policies {
|
||||||
token: &str,
|
token: &str,
|
||||||
index: Option<&str>,
|
index: Option<&str>,
|
||||||
) -> Option<AuthFilter> {
|
) -> Option<AuthFilter> {
|
||||||
// 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?;
|
let index = index?;
|
||||||
|
|
||||||
// Only search action can be accessed by a tenant token.
|
// Only search action can be accessed by a tenant token.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue