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

update for cedar#921 #134

Merged
merged 1 commit into from
May 30, 2024
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions tinytodo/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,9 @@ impl AppContext {
ShareRole::Reader => "reader",
ShareRole::Editor => "editor",
};
let target_eid = target.as_ref().id();
let target_eid = target.as_ref().id().escaped();
// Note: A List EID is controlled by TinyTodo, and will always be a number
let list_eid = list.as_ref().id();
let list_eid = list.as_ref().id().escaped();
PolicyId::new(&format!("{pid_prefix}[{target_eid}][{list_eid}]"))
}

Expand Down
Loading