PromucFlow_constructor/app/client/src/pages/Editor/IDE
Hetu Nandu 17cb7bc30e
fix: Check page permission to show widget add panel (#32913)
## Description

When the user does not have permission to edit a page, they should not
be shown the widget pane with widgets

Fixes #32708

## Automation

/ok-to-test tags="@tag.IDE, @tag.AccessControl"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8814962106>
> Commit: 113a1477b4cfb3727ad392b83633ba878c90188f
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8814962106&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->





## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ x ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced security by implementing permission checks before rendering
widgets in the editor UI.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-25 10:38:19 +05:30
..
EditorPane fix: Check page permission to show widget add panel (#32913) 2024-04-25 10:38:19 +05:30
EditorTabs chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
Header chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
LeftPane chore: Make Editor Pane Segments GA (#32712) 2024-04-18 10:05:34 +05:30
MainPane chore: IDE query url render tests (#31919) 2024-03-21 16:52:36 +05:30
RightPane fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
Sidebar chore: Make App Sidebar Generally Available (#30923) 2024-02-07 11:25:23 +05:30
AppsmithIDE.test.tsx chore: Make Editor Pane Segments GA (#32712) 2024-04-18 10:05:34 +05:30
hooks.test.tsx chore: Add tests for useGetPageFocusUrl hook (#32107) 2024-03-27 12:00:31 +00:00
hooks.ts chore: Make Editor Pane Segments GA (#32712) 2024-04-18 10:05:34 +05:30
index.tsx fix: adding branch protection callout (#32707) 2024-04-18 15:13:51 +05:30
ProtectedBranchIDE.test.tsx fix: adding branch protection callout (#32707) 2024-04-18 15:13:51 +05:30
ProtectedCallout.tsx fix: adding branch protection callout (#32707) 2024-04-18 15:13:51 +05:30