[Bug]: Internal Server Error intermittently seen when changing permissions in Roles #35194
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
I am editing the permissions in a Role, and enabled it across multiple workspaces and Apps.
But when I click on Save, an internal error pops up.
On refresh it shows all the checkboxes that I had enabled/disabled correctly, but apparently it’s not reflected when for the user.
When I tried enabling these permissions again and clicked Save, and no Internal Server errors comes up, then I see it working correctly
The hunch is when internal server error occurs, all the changes are not being pushed to backend but the UI shows everything as enabled.
Steps To Reproduce
- Go to Admin Settings -> Roles
- Go to Edit any Role
- Make some changes in the permissions of the role across workspaces and Apps
- Click on Save and see if Internal Server occurs (happens intermittently)
- Once you see the error, refresh the page to see that the changes are seen on UI
- Verify the changes as an end user, and you will notice some of them are not being applied
To solve for this, the user would have to go and make the changes and click Save again.
Public Sample App
No response
Environment
Production
Severity
Medium (Frustrating UX)
Issue video log
No response
Version
Self Hosted 1.32