Openbravo Issue Tracking System - POS2
View Issue Details
0058034POS2POSpublic2025-01-24 08:522025-02-20 13:34
malsasua 
meriem_azaf 
highmajoralways
closedfixed 
5
 
24Q424Q4.1 
No
0058034: in the login page are displayed all users, instead of only the users with access to the till
If the preference "Enable User Images on Login" is enabled, the usernames are displayed on the POS2 login page.

In POS1, only users with access to the till are displayed.

Now, in POS2, all users are displayed, not only those with access to the till.
in BO:
. go to Users window -> record: Posets Store User
. go to tab POS Terminal Access -> new record -> PS POS Terminal

in POS2:
. open login page for VBS-2
. do login
. do logout
-> in login page are displayed all users, including Posets Store User
. click in Posets Store User -> and try do login
-->> error message:
The user doesn't have permission to access this terminal
 
No tags attached.
blocks defect 0057741 closed meriem_azaf in the login page are displayed all users, instead of only the users with access to the till 
Issue History
2025-02-19 16:28meriem_azafTypedefect => backport
2025-02-19 16:28meriem_azafTarget Version => 24Q4.1
2025-02-19 16:30meriem_azafTarget Version24Q4.1 => 24Q4
2025-02-19 16:35hgbotNote Added: 0175899
2025-02-20 13:34hgbotNote Added: 0175974
2025-02-20 13:34hgbotResolutionopen => fixed
2025-02-20 13:34hgbotStatusscheduled => closed
2025-02-20 13:34hgbotFixed in Version => 24Q4.1
2025-02-20 13:34hgbotNote Added: 0175975

Notes
(0175899)
hgbot   
2025-02-19 16:35   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3523 [^]
(0175974)
hgbot   
2025-02-20 13:34   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3523 [^]
(0175975)
hgbot   
2025-02-20 13:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 10a6709fb730e57769e3db2c22e1a35204e57f47
Author: meriem azaf <m.azaf@orisha.com>
Date: 20-02-2025 12:34:18
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/10a6709fb730e57769e3db2c22e1a35204e57f47 [^]

Fixes ISSUE-58034: implements the proper query to get the list of ReactPOS users for a given terminal

If the preference "Enable User Images on Login" is enabled, the usernames are displayed on the POS2 login page.

In POS1, only users with access to the till are displayed.

In POS2, all users are displayed, not only those with access to the till.

---
M src/org/openbravo/pos2/login/POS2LoginUtilsServlet.java
---