Skip to content

[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
@RakshaKShetty

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

  1. login as a admin create a app with 2 pages
  2. Page 1 create a crud page and add one simple js
  3. Now go to roles section in admin setting create a custom role
  4. page 1 with view only access and page 2 with edit and view access
  5. assign this role to user 1
  6. login as user1
  7. click on edit icon
  8. go to page 1
  9. the user can change the query where the toast error id displayed with no access to edit query
  10. 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

Metadata

Assignees

Labels

BugSomething isn't workingMediumIssues that frustrate users due to poor UXNeeds TriagingNeeds attention from maintainers to triagePlatform Administration PodIssues related to platform administration & managementProductionRBAC ProductIssues, requests and enhancements around RBAC.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions