## Description For security concious customers we want to enable the tenant level setting to enable single session per user. Which means if user tries to login with different browser/machine we should invalidate the existing session for the user. This PR adds the tenant level config boolean variable `enableSingleSessionPerUser` which by default will opt out of this functionality but admin user can enable this from the admin settings page. > TL;DR: Enable functionality to have a single active session per user. Fixes https://github.com/appsmithorg/appsmith/issues/22727 Corresponding EE PR: https://github.com/appsmithorg/appsmith-ee/pull/1409 ## Type of change - New feature (non-breaking change which adds functionality) - This change requires a documentation update ## How Has This Been Tested? - Manual ## Checklist: ### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test |
||
|---|---|---|
| .. | ||
| src | ||
| auth-notes | ||
| pom.xml | ||