Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038478Retail ModulesStoreServerpublic2018-04-30 22:332018-05-06 23:46
mtaal 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
 
mtaal
No
0038478: SS Restrict ERP access means that certain backoffice windows in WebPOS can not be opened
The RestrictErpAccessInStoreServer preference restricts the access of users to the backend of the store server. It seems it also blocks backend windows opened from the WebPOS, at least it happens with the Vehicle Calendar window. This mechanism should have into account the source of the call, if it is WebPOS application, even if it is a backend window, it should open it.
Install CS and SS with resource calendar.
Allow access to certain backoffice windows, or restrict in a different way, only restrict loading the backoffice environment, except as system admin.
No tags attached.
related to feature request 0032702 closed AugustoMauch Openbravo ERP Store server backoffice enablement 
Issue History
2018-04-30 22:33mtaalNew Issue
2018-04-30 22:33mtaalAssigned To => AugustoMauch
2018-04-30 22:33mtaalTriggers an Emergency Pack => No
2018-05-02 16:12AugustoMauchRelationship addedrelated to 0032702
2018-05-03 16:04hgbotCheckin
2018-05-03 16:04hgbotNote Added: 0104238
2018-05-03 16:04hgbotStatusnew => resolved
2018-05-03 16:04hgbotResolutionopen => fixed
2018-05-03 16:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f861beb156823ea811665397aa0f8a8075dbd32 [^]
2018-05-03 16:16AugustoMauchReview Assigned To => mtaal
2018-05-06 23:46mtaalNote Added: 0104301
2018-05-06 23:46mtaalStatusresolved => closed

Notes
(0104238)
hgbot   
2018-05-03 16:04   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 2f861beb156823ea811665397aa0f8a8075dbd32
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 03 16:03:57 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2f861beb156823ea811665397aa0f8a8075dbd32 [^]

Fixes bug 38478: ERP widgets are available from POS if ERP access is restricted

Now it is possible to open an iFrame in the WebPOS showing the contents of the ERP Workplace even
if the access to the ERP is restricted. The idea behind the restriction is to prevent the access
to the ERP if the server is a store server

All the cases should be covered:
- Accessing the a store server ERP through the ERP login page denies the access
- Opening an iFrame en the ERP from within the WebPOS is possible
- If the Back Office button button is pressed in the WebPOS, it is the central server ERP that is
opened, never the store server

---
M src/org/openbravo/retail/posterminal/POSLoginHandler.java
---
(0104301)
mtaal   
2018-05-06 23:46   
Reviewed and tested