Skip to content

🐛 Change the check way to check if the user have right to change some property #3534

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

Open
wants to merge 1 commit into
base: 5.2
Choose a base branch
from

Conversation

macintoshplus
Copy link
Contributor

This PR fixes one of the Cypress tests for users with the ROLE_EDITOR role.

If the user does not have permission to change the properties, the original values ​​are reapplied.

With the old behavior, a user with the ROLE_EDITOR role (john_editor in the Cypress tests) cannot add or modify content.

@bobvandevijver bobvandevijver self-assigned this Mar 6, 2025
@bobvandevijver
Copy link
Member

This is something I want to look into a bit deeper, so that can take some time.

@macintoshplus
Copy link
Contributor Author

Ping me if you want more explanation for this change.

@macintoshplus macintoshplus force-pushed the fix_property_change_check branch from ef33033 to 1061e17 Compare March 11, 2025 21:21
@macintoshplus macintoshplus changed the base branch from master to 5.2 March 11, 2025 21:22
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