|View Issue Details[ Jump to Notes ] ||[ Issue History ] [ Print ] |
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Retail Modules] Retail Configuration||minor||have not tried||2022-06-14 09:40||2022-06-21 10:27|
|Reporter||caristu||View Status||public|| |
|Assigned To||Retail|| |
|Priority||high||Resolution||open||Fixed in Version|
|Status||new||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||Ant version|
|Product Version||SCM revision|| |
|Review Assigned To|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0049545: The Store Organization Selector has a wrong filter expression
|Description||The Store Organization Selector has the following filter expression:|
"(ad_isorgincluded(@#AD_Org_ID@,e.id, e.client.id) <> -1 or ad_isorgincluded(e.id,@#AD_Org_ID@, e.client.id) <> -1)"
Note that it is currently filtering by the current session's default organization. This means that for example the same role would be able to select any store if it has * organization as the current organization, but it will be only able to select Vallblanca store if it has that store as the current organization.
This is an inconsistent behavior.
|Steps To Reproduce||Explained in description|
|Proposed Solution||Do not make the filter expression of this selector depend on the current organization of the session. Instead it should make use of the record organization.|
|Tags||No tags attached.|