init group

This commit is contained in:
weisd
2025-01-13 20:46:18 +08:00
parent 4d9eca1667
commit 133a294024
11 changed files with 235 additions and 21 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ pub trait Store: Clone + Send + Sync + 'static {
async fn load_all(&self, cache: &Cache) -> crate::Result<()>;
fn get_default_policyes() -> HashMap<String, PolicyDoc> {
DEFAULT_POLICIES
let default_policies = DEFAULT_POLICIES;
default_policies
.iter()
.map(|(n, p)| {
(