PromucFlow_constructor/app/client/src/pages/Editor
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
..
__tests__ fix: Auth datasource new api button not working fixed (#32079) 2024-03-27 16:16:52 +05:30
APIEditor chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
AppSettingsPane chore: Add presets of colors for Theme Setttings (#32849) 2024-04-24 11:04:50 +03:00
CanvasLayoutConversion feat: Move conversion flow under feature flag. (#32490) 2024-04-11 17:21:14 +05:30
CanvasPropertyPane chore: Make App Sidebar Generally Available (#30923) 2024-02-09 11:42:36 +05:30
commons fix: adding branch protection callout (#32707) 2024-04-18 15:13:51 +05:30
CommunityTemplates/Modals chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
CustomWidgetBuilder chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
DataSourceEditor chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
DatasourceInfo chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
EditorName chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
EntityNavigation chore: Import debugger fixes (#31080) 2024-02-14 12:00:18 +05:30
Explorer fix: starter building blocks on canvas removes existing queries and JS objects (#32629) 2024-04-23 16:05:19 +05:30
FirstTimeUserOnboarding chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
GeneratePage chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
gitSync fix: removing uppercase from ssh key (#32915) 2024-04-24 19:44:52 +05:30
GlobalHotKeys chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
IDE fix: Check page permission to show widget add panel (#32913) 2024-04-25 10:38:19 +05:30
IntegrationEditor chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
JSEditor chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
MultiSelectPropertyPane feat: update copy from widgets to UI elements (#32514) 2024-04-22 05:35:24 +01:00
NavigationSettings
PropertyPane chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
QueryEditor fix: tooltip of the ellipsis content for response table changed to left position (#32800) 2024-04-22 15:50:16 +05:30
SaaSEditor chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
ThemePropertyPane chore: Add presets of colors for Theme Setttings (#32849) 2024-04-24 11:04:50 +03:00
WDSThemePropertyPane chore: Add presets of colors for Theme Setttings (#32849) 2024-04-24 11:04:50 +03:00
WidgetsEditor fix: Widget Selection prompts showing outside Editor (#32794) 2024-04-20 13:52:49 +05:30
widgetSidebar feat: add analytics for drag and drop building blocks (#32699) 2024-04-22 15:58:37 +01:00
ActionSettings.tsx
AppsmithLink.tsx
Canvas.tsx chore: Merge wds and anvil feature flags (#32609) 2024-04-12 22:54:04 +05:30
EditorHeader.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
EditorSaveIndicator.tsx
EditorShareButton.tsx feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
EntityNotFoundPane.tsx
FormConfig.tsx
FormControl.tsx
HelpBarInHeader.tsx
HelpButton.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
index.tsx chore: Make pages section into a dropdown (#32486) 2024-04-18 16:04:38 +05:30
loader.tsx
MainContainerWidthToggles.test.tsx fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
MainContainerWidthToggles.tsx
Popper.tsx fix: Adjust evaluated popover position based on the target's position in the view port (#29912) 2023-12-29 12:53:09 +05:30
PropertyPaneHelpButton.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
RealtimeAppEditors.tsx
RequestConfirmationModal.tsx
ShareApplicationForm.tsx
ToggleModeButton.tsx chore: Add back Preview Mode shortcut (#31602) 2024-03-11 10:02:19 +05:30
utils.tsx fix: Refactoring fetching of icon for module instances (#31765) 2024-03-14 14:31:44 +05:30
WidgetsEditorEntityExplorer.tsx