mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Authentication tests
This commit is contained in:
parent
377fe33aac
commit
11d024c613
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ pub static AUTHORIZATIONS: Lazy<HashMap<(&'static str, &'static str), HashSet<&'
|
||||||
("DELETE", "/keys/mykey/") => hashset!{"keys.delete", "*"},
|
("DELETE", "/keys/mykey/") => hashset!{"keys.delete", "*"},
|
||||||
("POST", "/keys") => hashset!{"keys.create", "*"},
|
("POST", "/keys") => hashset!{"keys.create", "*"},
|
||||||
("GET", "/keys") => hashset!{"keys.get", "*"},
|
("GET", "/keys") => hashset!{"keys.get", "*"},
|
||||||
|
("GET", "/experimental-features") => hashset!{"experimental.get", "*"},
|
||||||
|
("PATCH", "/experimental-features") => hashset!{"experimental.update", "*"},
|
||||||
};
|
};
|
||||||
|
|
||||||
authorizations
|
authorizations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue