Skip to content

Commit

Permalink
New API
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Eline <[email protected]>
  • Loading branch information
aaronjeline committed Jun 19, 2024
1 parent a60e774 commit e501655
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tinytodo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ use-templates = []
[dependencies.cedar-policy]
version = "4.0.0"
git = "https://github.com/cedar-policy/cedar"
branch = "main"
branch = "aeline/rfc55"
#Do not add any lines below this. CI relies on the previous line being the second-to-last line in the file
6 changes: 3 additions & 3 deletions tinytodo/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,9 @@ impl AppContext {
) -> Result<()> {
let es = self.entities.as_entities(&self.schema);
let q = Request::new(
Some(principal.as_ref().clone().into()),
Some(action.as_ref().clone().into()),
Some(resource.as_ref().clone().into()),
principal.as_ref().clone().into(),
action.as_ref().clone().into(),
resource.as_ref().clone().into(),
Context::empty(),
Some(&self.schema),
)
Expand Down

0 comments on commit e501655

Please sign in to comment.