cedar-policy / cedar

Implementation of the Cedar Policy Language
https://www.cedarpolicy.com
Apache License 2.0
892 stars 80 forks source link

implement schema parsers for RFC 82 #1204

Closed cdisselkoen closed 2 months ago

cdisselkoen commented 2 months ago

Description of changes

This PR contains the schema parsing changes (both JSON and Cedar formats) for RFC 82 entity tags. It does not contain the validator changes that would allow you to actually validate getTag and hasTag operations, but it does allow you to declare tag types on entities.

Issue #, if available

Checklist for requesting a review

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

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

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