Skip to content

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

Closed
macintoshplus wants to merge 1 commit intobolt:5.2from
macintoshplus:fix_property_change_check
Closed

🐛 Change the check way to check if the user have right to change some property#3534
macintoshplus wants to merge 1 commit intobolt:5.2from
macintoshplus:fix_property_change_check

Conversation

@macintoshplus
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@macintoshplus
Copy link
Copy Markdown
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
@bobvandevijver bobvandevijver added this to the Bolt 6.0 milestone Nov 4, 2025
@bobvandevijver
Copy link
Copy Markdown
Member

I'm going to close this, as the access denied error is the error that should be thrown. Reverting changes will only hide grants issues.

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