Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0056759 | Openbravo ERP | A. Platform | public | 2024-10-14 09:06 | 2024-11-10 22:51 |
|
| Reporter | alostale | |
| Assigned To | jarmendariz | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | PR25Q1 | |
| Merge Request Status | approved |
| Review Assigned To | |
| OBNetwork customer | Gold |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0056759: active sessions for locked users are usable till log out |
| Description | After locking a user account, active sessions for that account can continue operating till they log out. |
| Steps To Reproduce | 1. Session-1: Log in POS with demouser user
2. Session-2: Log in backoffice with Openbravo user
3. Session-2: In User window, look for demouser and flag the Locked field
4. Session-1: Complete a sale
ERROR: it successfully completes it, it would be expectable the demouser sessions finalizes as the user is locked |
| Proposed Solution | The easiest way to implement this is to set ad_session.session_active='N' where session_active='Y' and ad_user=:lockedUser.
This causes the next time any backend action is performed, Tomcat session to be kicked out. Working also in a Tomcat cluster. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2024-10-14 09:06 | alostale | New Issue | |
| 2024-10-14 09:06 | alostale | Assigned To | => Triage Platform Base |
| 2024-10-14 09:06 | alostale | OBNetwork customer | => Gold |
| 2024-10-14 09:06 | alostale | Modules | => Core |
| 2024-10-14 09:06 | alostale | Triggers an Emergency Pack | => No |
| 2024-11-05 18:47 | hgbot | Merge Request Status | => open |
| 2024-11-05 18:47 | hgbot | Note Added: 0171456 | |
| 2024-11-05 18:51 | AugustoMauch | Assigned To | Triage Platform Base => jarmendariz |
| 2024-11-05 18:51 | AugustoMauch | Status | new => scheduled |
| 2024-11-10 22:47 | hgbot | Merge Request Status | open => approved |
| 2024-11-10 22:51 | hgbot | Resolution | open => fixed |
| 2024-11-10 22:51 | hgbot | Status | scheduled => closed |
| 2024-11-10 22:51 | hgbot | Note Added: 0171730 | |
| 2024-11-10 22:51 | hgbot | Fixed in Version | => PR25Q1 |
| 2024-11-10 22:51 | hgbot | Note Added: 0171731 | |