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

Cedar protobuf structures #485

Merged
merged 18 commits into from
Dec 2, 2024
Merged

Cedar protobuf structures #485

merged 18 commits into from
Dec 2, 2024

Conversation

cdisselkoen
Copy link
Contributor

@cdisselkoen cdisselkoen commented Nov 22, 2024

Adds a Lean library for parsing Cedar protobuf structures produced by the Rust implementation (with the Rust protobufs feature). Code originally by @Brandon-Rozek ; I have refactored and cleaned up some parts, and added a lot of tests.

As of this writing, several tests are failing, but reviews are still welcome on the code itself. Some of the failing tests are due to my attempts to add entity-tags support to Brandon's existing code.

Tests are now passing and this is ready for review. Changes vs Brandon's code include adding entity-tags support and a lot of tests, as well as some refactoring.

Signed-off-by: Craig Disselkoen <[email protected]>
cedar-lean/CedarProto/EntityUIDEntry.lean Outdated Show resolved Hide resolved
cedar-lean/CedarProto/ValidatorEntityType.lean Outdated Show resolved Hide resolved
Signed-off-by: Craig Disselkoen <[email protected]>
Signed-off-by: Craig Disselkoen <[email protected]>
Signed-off-by: Craig Disselkoen <[email protected]>
@cdisselkoen
Copy link
Contributor Author

CI failure on this latest commit (which only updates a comment) when it passed on the previous commit, is definitely unrelated and should be resolved separately. It's a failure to build code in cedar-drt which is not touched by this PR.

@cdisselkoen cdisselkoen merged commit 617d0db into main Dec 2, 2024
5 of 6 checks passed
@cdisselkoen cdisselkoen deleted the cdisselkoen/cedar-protobuf branch December 2, 2024 16:50
This was referenced Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants