mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
move the API key in meilisearch_types
This commit is contained in:
parent
c9050759f5
commit
dc1d739785
12 changed files with 384 additions and 241 deletions
|
@ -134,9 +134,9 @@ pub mod policies {
|
|||
use uuid::Uuid;
|
||||
|
||||
use crate::extractors::authentication::Policy;
|
||||
use meilisearch_auth::{Action, AuthController, AuthFilter, SearchRules};
|
||||
use meilisearch_auth::{AuthController, AuthFilter, SearchRules};
|
||||
// reexport actions in policies in order to be used in routes configuration.
|
||||
pub use meilisearch_auth::actions;
|
||||
pub use meilisearch_types::keys::{actions, Action};
|
||||
|
||||
fn tenant_token_validation() -> Validation {
|
||||
let mut validation = Validation::default();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue