Add new permissions

This commit is contained in:
Louis Dureuil 2025-01-29 10:47:31 +01:00
parent 6d79cb23ba
commit b30e5a7a35
No known key found for this signature in database
4 changed files with 15 additions and 2 deletions

View file

@ -68,6 +68,8 @@ pub static AUTHORIZATIONS: Lazy<HashMap<(&'static str, &'static str), HashSet<&'
("GET", "/keys") => hashset!{"keys.get", "*"},
("GET", "/experimental-features") => hashset!{"experimental.get", "*"},
("PATCH", "/experimental-features") => hashset!{"experimental.update", "*"},
("GET", "/network") => hashset!{"network.get", "*"},
("PATCH", "/network") => hashset!{"network.update", "*"},
};
authorizations