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

Enable authorization directives by default #3842

Closed
Geal opened this issue Sep 18, 2023 · 0 comments · Fixed by #3713
Closed

Enable authorization directives by default #3842

Geal opened this issue Sep 18, 2023 · 0 comments · Fixed by #3713
Assignees

Comments

@Geal
Copy link
Contributor

Geal commented Sep 18, 2023

Authorization directives should be enabled by default if a valid entitlement is detected. This changes a bit the behaviour of the entitlement check, because it has to check for the presence of the directive in the graph, and must be robust against directive renaming

@Geal Geal self-assigned this Oct 2, 2023
Geal added a commit that referenced this issue Oct 23, 2023
Fix #3842 

This requires a few steps, because authorization directives should not
be usable without a valid license, so the license enforcement code has
to check for their presence in the graph.

Co-authored-by: Maria Elisabeth Schreiber <[email protected]>
Co-authored-by: Jeremy Lempereur <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant