Skip to content

Headless CMS Security - Bring Back Old Permissions Checking-related Utils #3904

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

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Feb 27, 2024

Changes

Despite the fact that, with the #3865 PR, we've introduced the new AccessControl class that users can now use to perform authorization in custom CMS-related GraphQL queries/mutations, we still need to leave the old authorization/permissions utils, in order to preserve backwards compatibility.

This PR brings back those utils. We'll remove them again with the 5.40.0 release.

How Has This Been Tested?

Jest.

Documentation

N/A

This is in order to preserve backwards compatibility.
@adrians5j adrians5j added this to the 5.39.2 milestone Feb 27, 2024
@adrians5j adrians5j changed the title CMS Security - Bring Back Old Permissions Checking-related Utils Headless CMS Security - Bring Back Old Permissions Checking-related Utils Feb 27, 2024
@adrians5j adrians5j marked this pull request as ready for review February 27, 2024 10:05
@adrians5j adrians5j merged commit 9125c57 into dev Feb 27, 2024
@adrians5j adrians5j deleted the adrian/security-improvements-bc branch April 5, 2024 07:41
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.

2 participants