PromucFlow_constructor/app/server
Shrikant Sharat Kandula d02c1edf6a
chore: Inject AuthenticationPrincipal in controller method (#31742)
Instead of using `sessionUserService.getCurrentUser()`, or the
`ReactiveSecurityContextHolder.getContext` directly (which we are doing
in several places), this injection will let us get the principal
directly at controller-level.

Yes, it produces the anonymous user, when there's no session.

Why? Less code. More relying on letting Spring do the right thing for
us. 😛

Why aren't we making this change across the board everywhere? Sure,
eventually. Small PR like this helps me get consensus, be less daunting
to review, and most important of all, easy to revert if we notice
something going wrong. In a week or two, if we want to do this, we can
start rolling it out to more places in code.

/ok-to-test tags="@tag.Sanity"
2024-03-27 11:23:03 +05:30
..
.run feat: Databricks plugin (#29746) 2023-12-26 10:04:09 +05:30
appsmith-git chore: Fix double-brace-initialization (#31643) 2024-03-11 11:54:25 +05:30
appsmith-interfaces chore: Remove QueryDSL (#32074) 2024-03-26 21:28:16 +05:30
appsmith-plugins chore: Prepared statement description changes (#32042) 2024-03-26 14:09:35 +05:30
appsmith-server chore: Inject AuthenticationPrincipal in controller method (#31742) 2024-03-27 11:23:03 +05:30
envs chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
mongo-seed
reactive-caching chore: Use Lombok's FieldNameConstants instead of QueryDSL (#31269) 2024-02-26 16:33:07 +05:30
scripts chore: Tiny NodeJS script as a linter for field name constants (#31766) 2024-03-14 06:30:40 +05:30
.gitignore chore: Removed failed tests file from git (#29602) 2023-12-14 13:02:36 +05:30
build.sh
buildpack-run.sh
docker-compose.yml
pom.xml Revert "chore: Remove QueryDSL and add Errorprone (#31754)" 2024-03-25 19:20:22 +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.