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

Formalize the desugaring of when/unless clauses #209

Open
1 of 2 tasks
aaronjeline opened this issue Feb 5, 2024 · 1 comment
Open
1 of 2 tasks

Formalize the desugaring of when/unless clauses #209

aaronjeline opened this issue Feb 5, 2024 · 1 comment
Labels
feature-request Request for a new feature

Comments

@aaronjeline
Copy link
Contributor

Category

Dafny formalization, Lean formalization

Describe the feature you'd like to request

Currently a Cedar policy is represented with its condition clause being an arbitrary expression. This is not how users write policies, they break the expression up into (potentially multiple) when/unless clauses. Currently the spec does not detail how that desugaring happens, so it's implicit whether multiple clauses are anded or ored together. This should be a part of the formal spec.

Describe alternatives you've considered

Leave as is

Additional context

Due the engineering details on the DRT, it's not possible at the moment to test this, however, if in the future DRT moves to using the EST format, it will be.

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@aaronjeline aaronjeline added feature-request Request for a new feature pending-triage Hasn't been triaged yet and removed pending-triage Hasn't been triaged yet labels Feb 5, 2024
@john-h-kastner-aws
Copy link
Contributor

Sub task for #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants