-
Notifications
You must be signed in to change notification settings - Fork 107
Backport #457 to 2.4.x #671
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
Conversation
…mplate' into backport/shaobo/add_template
| Now it will not, since we know `{"foo": 5} has bar` is `False`, and the | ||
| validator will return an error for a policy that can never fire. | ||
| - Removed deprecated `__expr` escapes from integration tests. | ||
| - Calling `add_template` with a `PolicyId` that is an existing link will now error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's more than just add_template right? Also add and link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this PR just fixes the function. The comments of add and link probably are added to be more informative?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. this only changes add_template.
| Now it will not, since we know `{"foo": 5} has bar` is `False`, and the | ||
| validator will return an error for a policy that can never fire. | ||
| - Removed deprecated `__expr` escapes from integration tests. | ||
| - Calling `add_template` with a `PolicyId` that is an existing link will now error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. this only changes add_template.
|
I assume the PR title should say 2.4.x instead of 2.5.x? |
Description of changes
#457 contains the fixes of #456 for release 2.4.
Issue #, if available
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):
cedar-policy.I confirm that this PR (choose one, and delete the other options):
I confirm that
cedar-spec(choose one, and delete the other options):Disclaimer
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.