Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to RFC 55 #160

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
aaronjeline marked this conversation as resolved.
Show resolved Hide resolved
#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
Loading