PromucFlow_constructor/app/server
Abhijeet ab9abd6efa
chore: Replace default organization with the one based on user context (#39483)
## Description
This is the first PR in this series where we are still providing the
fallback for default organization present in the DB. In the subsequent
PR:
- We will be introducing a mapping of host to organization which will be
used to populate the correct orgId even for the anonymousUser calls.

Fixes https://github.com/appsmithorg/appsmith/issues/39070
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

/test All

### 🔍 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/13705452377>
> Commit: b8a58600a8687a5f105c36ea613a57715b0ad980
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13705452377&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Thu, 06 Mar 2025 19:30:03 UTC
<!-- 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

- **Refactor**
- Streamlined organization management to consistently use the current
user’s context, ensuring more accurate configuration updates, permission
handling, and caching.

- **Tests**
- Updated test suites to validate and support the refined user-specific
organization processing.

- **Chores**
- Improved internal dependencies and removed redundant elements for
enhanced maintainability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Trisha Anand <trisha@appsmith.com>
2025-03-07 15:42:02 +05:30
..
.run
appsmith-git chore: Refactor Codebase to Remove Telemetry from CE (#39421) 2025-02-25 07:48:42 +00:00
appsmith-interfaces fix: connection pool config added for dynamoDB to avoid stale connections (#38940) 2025-02-25 22:03:11 +05:30
appsmith-plugins feat: add configurable connection pool support for MySQL plugin (#39148) 2025-03-06 17:33:00 +05:30
appsmith-server chore: Replace default organization with the one based on user context (#39483) 2025-03-07 15:42:02 +05:30
envs test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
mongo-seed
reactive-caching feat: Restrict cron execution for single pod in clustered environment (#39171) 2025-02-25 17:20:11 +05:30
scripts chore: Revert "chore: delete redundant files" (#35022) 2024-07-18 16:18:10 +05:30
.gitignore
build.sh test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
buildpack-run.sh
pom.xml chore: Added capability of running ITs on maven (#38354) 2024-12-25 02:08:49 +05:30
Procfile
README.md
system.properties

Appsmith Server

This is the server-side repository for the Appsmith framework.

For details on setting up your development machine, please refer to this Setup Guide.