Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046303Retail ModulesWeb POSpublic2021-04-20 08:102021-04-20 08:11
caristu 
Retail 
highminorhave not tried
newopen 
5
 
 
No
0046303: Review if context change check mechanism should be deleted
With every backend request, it is checked whether the current context (client, org, user, role) has changed[1]. If changed, a confirmation is shown to the user in order to log in again.

In 3.0PR19Q1 version the CSRF token control mechanism was implemented. This is
a security token that changes with every new session.

So we have two mechanisms that keeps control about session changes. We should review if we can safely delete the context check on every request and use just the CSRF token control.

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/blob/master/web/org.openbravo.mobile.core/app/integration/remote-server/BackendServer.js#L62 [^]
.
Remove the context change check mechanism, in case we confirm that it can be safely replaced with the CSRF token check.
No tags attached.
related to defect 0046302 closed caristu Retail Modules Context change is not properly checked in some requests 
related to feature request 0039123 closed jarmendariz Openbravo ERP Add CSRF Token support 
Issue History
2021-04-20 08:10caristuNew Issue
2021-04-20 08:10caristuAssigned To => Retail
2021-04-20 08:10caristuTriggers an Emergency Pack => No
2021-04-20 08:10caristuIssue generated from0046302
2021-04-20 08:10caristuRelationship addedrelated to 0046302
2021-04-20 08:10caristuRelationship addedrelated to 0039123
2021-04-20 08:11caristuDescription Updatedbug_revision_view_page.php?rev_id=22339#r22339

There are no notes attached to this issue.