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

RFC 24 implementation #557

Merged
merged 87 commits into from
Feb 19, 2024
Merged

RFC 24 implementation #557

merged 87 commits into from
Feb 19, 2024

Conversation

shaobo-he-aws
Copy link
Contributor

@shaobo-he-aws shaobo-he-aws commented Dec 28, 2023

Description of changes

Implement RFC 24

Issue #, if available

Checklist for requesting a review

The change in this PR is (choose one, and delete the other options):

  • A backwards-compatible change requiring a minor version bump to cedar-policy (e.g., addition of a new API).

I confirm that this PR (choose one, and delete the other options):

  • Updates the "Unreleased" section of the CHANGELOG with a description of my change (required for major/minor version bumps).

I confirm that cedar-spec (choose one, and delete the other options):

  • Requires updates, and I have made / will make these updates myself. (Please include in your description a timeline or link to the relevant PR in cedar-spec, and how you have tested that your updates are correct.)

Disclaimer

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aaronjeline
Copy link
Contributor

One todo, the warnings in cli currently present as errors

Copy link
Contributor

@cdisselkoen cdisselkoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting close. I'm concerned about the SchemaError change in cedar-policy, as noted there

cedar-policy-cli/src/lib.rs Outdated Show resolved Hide resolved
cedar-policy-cli/src/lib.rs Show resolved Hide resolved
cedar-policy-cli/src/lib.rs Outdated Show resolved Hide resolved
cedar-policy-cli/src/lib.rs Show resolved Hide resolved
cedar-policy-validator/src/human_schema/ast.rs Outdated Show resolved Hide resolved
cedar-policy-validator/src/human_schema/ast.rs Outdated Show resolved Hide resolved
cedar-policy-validator/src/human_schema/ast.rs Outdated Show resolved Hide resolved
cedar-policy/src/api.rs Outdated Show resolved Hide resolved
@@ -0,0 +1,28 @@
/*
* Copyright 2022-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe Legal signed off on changing this to Copyright Cedar Contributors and removing the dates. If we don't want to do that yet, we should use 2024.

@aaronjeline aaronjeline merged commit f14442e into main Feb 19, 2024
11 checks passed
@aaronjeline aaronjeline deleted the rfc24-impl branch February 19, 2024 20:19
shaobo-he-aws added a commit that referenced this pull request Mar 4, 2024
`FromJsonError::UnescapeError`'s signature is reverted.

Signed-off-by: Shaobo He <shaobohe@amazon.com>
shaobo-he-aws added a commit that referenced this pull request Mar 4, 2024
Signed-off-by: Shaobo He <shaobohe@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1 Features for 3.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants