diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-11 17:03:43 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-11 17:03:43 -0600 |
| commit | 0c6051477f6c974856055e4d28bceb3c5c512ae7 (patch) | |
| tree | 13466d3a067a8eb746baec54a49ccd42b98ed4e9 | |
| parent | 62b28867a061c2a4d23bc18f0dd6593d046a1aa5 (diff) | |
fix: load policies from relative path
| -rw-r--r-- | src/authorization/cedar_authorizer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/authorization/cedar_authorizer.rs b/src/authorization/cedar_authorizer.rs index 6cda7484..ed639f28 100644 --- a/src/authorization/cedar_authorizer.rs +++ b/src/authorization/cedar_authorizer.rs @@ -130,7 +130,7 @@ impl CedarAuthorizer { impl Default for CedarAuthorizer { fn default() -> Self { Self::new_from( - std::path::Path::new("/etc/authzd"), + std::path::Path::new("./etc/authzd"), cedar_policy::Entities::empty(), ) } |
