[Bug]: When the user lacks edit access to a specific page, the display of the restricted query and JavaScript elements is inconsistent in appearance #36301
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
When the user lacks edit access to a specific page, the display of the restricted query and JavaScript elements is inconsistent in appearance
Steps To Reproduce
- login as a admin create a app with 2 pages
- Page 1 create a crud page and add one simple js
- Now go to roles section in admin setting create a custom role
- page 1 with view only access and page 2 with edit and view access
- assign this role to user 1
- login as user1
- click on edit icon
- go to page 1
- the user can change the query where the toast error id displayed with no access to edit query
- when we go to js the editor is in disabled state
Public Sample App
No response
Environment
Production
Severity
Medium (Frustrating UX)
Issue video log
No response
Version
Production