pub trait PermissionChecker: Send + Sync {
// Required method
fn check_permission(
&self,
user_info: UserInfoRef,
req: PermissionReq<'_>,
) -> Result<PermissionResp>;
}
pub trait PermissionChecker: Send + Sync {
// Required method
fn check_permission(
&self,
user_info: UserInfoRef,
req: PermissionReq<'_>,
) -> Result<PermissionResp>;
}