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
Contact module settings: Permissions do not stick for the Administrator role #6063
Comments
Permissions issues are critical, so adding bug-fix milestone candidate label. |
Very simple fix: backdrop/backdrop#4410 ...too bad that I didn't look earlier. Missed the chance to include this in the security releases that happened a few hours ago. |
Noting that we don't need this for 1.x if we merge #5031. I tested and confirmed that I cannot reproduce this issue in the sandbox of the PR for that issue 😉 |
Although #5031 is not yet merged, I just tested this with the 1.27.x-dev version (as of 2023-08-28), and I don't see the problematic behavior. If I just check the "Editor" permission and uncheck all "Administrator" permissions, then save, that is reproduced after saving. Couldn't test this on the sandbox because Tugboat didn't build the sandbox when I closed and reopened the PR. But it appears that this issue has been fixed by other means. Git blame tells me this was fixed by PR backdrop/backdrop#4472 for issue #6117, which has been merged into 1.26.1. (And it's exactly the same change in the PR.) Closing the issue as no longer needed. |
Description of the bug
It seems that the Contact module permission checkboxes for the Administrator role are always reset to ticked/enabled.
Steps To Reproduce
To reproduce the behavior:
Actual behavior
Every time the permissions for the Administrator role are being reset (enabled).
Expected behavior
The permissions for the Administrator role should be saved properly.
Additional information
I have tested the same with the permissions matrix available in the content type edit form, and the permissions there seem to be working as expected. So this issue seems to be limited to the permissions matrix in the Contact module permissions. We should check other permission matrices as well though, to make sure.
The text was updated successfully, but these errors were encountered: