summaryrefslogtreecommitdiff
path: root/src/authorization
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-11 17:03:43 -0600
committermo khan <mo@mokhan.ca>2025-07-11 17:03:43 -0600
commit0c6051477f6c974856055e4d28bceb3c5c512ae7 (patch)
tree13466d3a067a8eb746baec54a49ccd42b98ed4e9 /src/authorization
parent62b28867a061c2a4d23bc18f0dd6593d046a1aa5 (diff)
fix: load policies from relative path
Diffstat (limited to 'src/authorization')
-rw-r--r--src/authorization/cedar_authorizer.rs2
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(),
)
}