test(iam): add policy_is_allowed

This commit is contained in:
bestgopher
2024-12-23 21:46:25 +08:00
parent efed0a4884
commit 2126c36a73
20 changed files with 1454 additions and 212 deletions
+3 -3
View File
@@ -4,8 +4,8 @@ mod effect;
mod function;
mod id;
mod policy;
mod resource;
mod statement;
pub mod resource;
pub mod statement;
pub(crate) mod utils;
use action::Action;
@@ -17,7 +17,7 @@ pub use id::ID;
pub use policy::{default::DEFAULT_POLICIES, Policy};
pub use resource::ResourceSet;
use serde::{Deserialize, Serialize};
use serde_json::{to_string, Value};
use serde_json::Value;
pub use statement::Statement;
use std::collections::HashMap;
use time::OffsetDateTime;