PromucFlow_constructor/app/client/src
Hetu Nandu 89154c56cd
fix: RBAC errors not showing toasts (#36244)
## Description

Updates the error handling for Access Control scenarios to show toasts
when correct permissions are not present


Fixes #36229

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]
> 🔴 🔴 🔴 Some tests have failed.
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10807287223>
> Commit: 08edaeefb87d02f8951a38cef2ac0c608d8fe8f8
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10807287223&attempt=2&selectiontype=test&testsstatus=failed&specsstatus=fail"
target="_blank">Cypress dashboard</a>.
> Tags: @tag.AccessControl
> Spec: 
> The following are new failures, please fix them before merging the PR:
<ol>
> <li>cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL2_Spec.ts</ol>
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master"
target="_blank">List of identified flaky tests</a>.
> <hr>Wed, 11 Sep 2024 08:28:37 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

## Summary by CodeRabbit

- **New Features**
- Enhanced error handling with structured Redux actions for better state
management.
	- Improved clarity in error message construction based on error types.
- **Bug Fixes**
- Refined logic for displaying toast notifications based on the `show`
parameter.
- **Documentation**
	- Updated comments for better understanding of error handling logic.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-11 14:06:28 +05:30
..
actions chore: updated actions fetch logic for consolidated view api (#36096) 2024-09-06 13:19:08 +05:30
api chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
assets chore: Remove google fonts imported from googleapis (#35392) 2024-08-07 08:49:04 +05:30
ce chore: add uuid supported path (#36221) 2024-09-10 14:01:42 +05:30
components feat: action redesign, UQI upgrade S3 plugin config to dual zone format & sorting field responsiveness (#36090) 2024-09-09 19:00:10 +03:00
constants feat: add select widget (#35849) 2024-09-02 12:30:23 +02:00
Datasource/components chore: reconnect ds detached from datasource editor part 1 (#35907) 2024-09-02 11:26:34 +05:30
ee chore: updated actions fetch logic for consolidated view api (#36096) 2024-09-06 13:19:08 +05:30
enterprise fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
entities chore: makeParentDependedOnChildren optimisation only affected nodes in the graph is computed (#36161) 2024-09-11 10:07:04 +05:30
globalStyles fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
icons chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
IDE chore: Transitions for IDE (#35714) 2024-09-09 16:25:50 +05:30
layoutSystems chore: Transitions for IDE (#35714) 2024-09-09 16:25:50 +05:30
mockComponentProps
mockResponses
mocks fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
navigation fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
pages chore: Revert "fix: fixed back button to redirect to applications page" (#36191) 2024-09-10 04:52:23 +05:30
plugins/Linting fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
polyfills chore: enable no-explicit-any rule (#35321) 2024-07-31 18:41:28 +03:00
reducers chore: updated actions fetch logic for consolidated view api (#36096) 2024-09-06 13:19:08 +05:30
reflow chore: enable no-explicit-any rule (#35321) 2024-07-31 18:41:28 +03:00
sagas fix: RBAC errors not showing toasts (#36244) 2024-09-11 14:06:28 +05:30
selectors chore: Input morphing (#35845) 2024-08-27 12:15:45 +05:30
templates
theme
transformers fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
UITelemetry chore: filter smartlook urls from tracing assets in page load instrumentation (#35738) 2024-08-19 11:39:39 +05:30
usagePulse fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
utils fix: Fall of the error toasts wall (#35839) 2024-09-05 11:06:43 +05:30
WidgetProvider chore: Input morphing (#35845) 2024-08-27 12:15:45 +05:30
WidgetQueryGenerators chore: enable no-explicit-any rule (#35321) 2024-07-31 18:41:28 +03:00
widgets fix: remove Select key value selects, fix default (#36158) 2024-09-09 14:48:18 +02:00
workers chore: makeParentDependedOnChildren optimisation only affected nodes in the graph is computed (#36161) 2024-09-11 10:07:04 +05:30
App.css
AppErrorBoundry.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
config.d.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
Globals.d.ts fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
index.css chore: Remove google fonts imported from googleapis (#35392) 2024-08-07 08:49:04 +05:30
index.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
LandingScreen.tsx fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
preload-route-chunks.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
react-app-env.d.ts
RouteChangeListener.tsx
serviceWorker.ts chore: Remove some logs and errors from console - 1/n (#35674) 2024-08-18 14:48:08 +05:30
store.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
wdyr.ts