Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053796
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2023-10-30 13:352023-11-09 23:41
ReporterablascoView Statuspublic 
Assigned ToAugustoMauch 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision24Q1
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression levelQA functional test
Regression date2023-10-17
Regression introduced in releasemain
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/53376e56283d11e1f19363bcf79e53ab03d95639 [^]
Triggers an Emergency PackNo
Summary

0053796: User cannot connect to POS if default role belong to another store

DescriptionLogin in POS2 should verify from backend different role access to login in the application.

With Auto Roles, some modifications have been done related with which role should be selected base on username and password inserted in Login Form.

A user can be associated with several user Roles with different types of access.

A query is executed based on role, user and clientId to verify if the current user Organization belongs to the Organization Tree of the terminal.
But the role selected to execute the query is not properly defined to provide access to login.
Steps To ReproduceIn backend:
- Log in
- Open the User window
- Select the vallblanca user
- Give it access to the PosetsUser role in the User Roles tab
- Modify the header, set PosetsUser as Default POS Role (in More Information field group)
- Log out

In POS2
- Try to log in with the vallblanca user to the VBS-2 Terminal. An error will be displayed: "Impossible to connect to another POS than the default organization"

"The user doesn't have permission to access this terminal. The Organization of the userdoesn't belong to the natural organization tree of the terminal"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0053408 closedablasco Do not persist access for automatic roles 

-  Notes
(0156586)
hgbot (developer)
2023-11-01 11:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1403 [^]
(0156978)
hgbot (developer)
2023-11-09 15:21

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1403 [^]

- Issue History
Date Modified Username Field Change
2023-10-30 13:35 ablasco New Issue
2023-10-30 13:35 ablasco Assigned To => ablasco
2023-10-30 13:35 ablasco Modules => Core
2023-10-30 13:35 ablasco Triggers an Emergency Pack => No
2023-10-30 13:41 AugustoMauch Regression level => QA functional test
2023-10-30 13:41 AugustoMauch Regression date => 2023-10-17
2023-10-30 13:41 AugustoMauch Regression introduced in release => main
2023-10-30 13:41 AugustoMauch Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/53376e56283d11e1f19363bcf79e53ab03d95639 [^]
2023-10-30 13:41 AugustoMauch Relationship added caused by 0053408
2023-10-30 13:42 AugustoMauch Status new => scheduled
2023-10-30 14:18 hgbot Note Added: 0156492
2023-10-31 15:07 ablasco Steps to Reproduce Updated View Revisions
2023-10-31 15:11 ablasco Steps to Reproduce Updated View Revisions
2023-11-01 10:57 AugustoMauch Summary Auto Roles Regression - Impossible to connect to another POS than the default organization => User cannot connect to POS if default role belong to another store
2023-11-01 10:57 AugustoMauch Steps to Reproduce Updated View Revisions
2023-11-01 10:57 AugustoMauch Proposed Solution updated
2023-11-01 10:57 AugustoMauch Assigned To ablasco => AugustoMauch
2023-11-01 11:01 hgbot Note Added: 0156586
2023-11-01 11:02 hgbot Note Added: 0156587
2023-11-01 11:02 AugustoMauch Note Deleted: 0156492
2023-11-01 11:02 AugustoMauch Note Deleted: 0156587
2023-11-09 15:21 hgbot Note Added: 0156978
2023-11-09 23:41 AugustoMauch Status scheduled => resolved
2023-11-09 23:41 AugustoMauch Fixed in SCM revision => 24Q1
2023-11-09 23:41 AugustoMauch Resolution open => fixed
2023-11-09 23:41 AugustoMauch Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker