Openbravo Issue Tracking System - POS2
View Issue Details
0058038POS2POSpublic2025-01-24 08:522025-02-23 17:16
malsasua 
meriem_azaf 
highmajoralways
closedfixed 
5
 
25Q125Q1 
approved
Gold
118403
No
0058038: 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-20 08:36meriem_azafTypedefect => backport
2025-02-20 08:36meriem_azafTarget Version => 25Q1
2025-02-20 08:40hgbotNote Added: 0175949
2025-02-23 17:16hgbotResolutionopen => fixed
2025-02-23 17:16hgbotStatusscheduled => closed
2025-02-23 17:16hgbotFixed in Version => 25Q1
2025-02-23 17:16hgbotNote Added: 0176030
2025-02-23 17:16hgbotNote Added: 0176031

Notes
(0175949)
hgbot   
2025-02-20 08:40   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3527 [^]
(0176030)
hgbot   
2025-02-23 17:16   
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: b049ad102de7d9bcefdb2dd3b756e3553146607b
Author: meriem azaf <m.azaf@orisha.com>
Date: 23-02-2025 16:15:55
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/b049ad102de7d9bcefdb2dd3b756e3553146607b [^]

Fixes ISSUE-58038: 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
---
(0176031)
hgbot   
2025-02-23 17:16   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3527 [^]