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

View Revisions: Issue #36151 All Revisions ] Back to Issue ]
Summary 0036151: organization selector in process definition don't filter by role's org access
Revision 2017-06-02 11:22 by alostale
Steps To Reproduce Create a new Reference:
* Name = My org
* OBUISEL_Selector Reference
Defined Selector:
* Table = Organization
* Selector Template

Create a new Reference:
* Name = My bp
* OBUISEL_Selector Reference
Defined Selector:
* Table = BusinessPartner
* Selector Template


Create a new Process Definition:
* UI pattern = Report
* Data access level = client/org
* Enter any class
Enter parameter "Organization":
* Mandatory = N
* DBColumnName = "inpAdOrgId" <- this makes other params to be treated as subordinate for it
* OBUISEL_Selector Reference
* Link to "My org"
Enter parameter "Business Partner":
* Mandatory = N
* OBUISEL_Selector Reference
* Link to "My bp"

Create a new menu entry and link it to the process definition.

Add the process definition to role "F&B España - Procurement", which only has access to Spanish organizations.

Login with the role "F&B España - Procurement" and launch the process definition created before
Check organization selector shows all the organization. It's wrong, it should show only spanish orgs
Check business partner selector wrongly shows US business partners in case in organization selector US org is picked.
Revision 2017-05-31 14:33 by alostale
Steps To Reproduce Create a new Reference:
* Name = My org
* OBUISEL_Selector Reference
Defined Selector:
* Table = Organization
* Selector Template

Create a new Reference:
* Name = My bp
* OBUISEL_Selector Reference
Defined Selector:
* Table = BusinessPartner
* Selector Template


Create a new Process Definition:
* UI pattern = Report
* Data access level = client/org
* Enter any class
Enter parameter "Organization":
* Mandatory = N
* OBUISEL_Selector Reference
* Link to "My org"
Enter parameter "Business Partner":
* Mandatory = N
* OBUISEL_Selector Reference
* Link to "My bp"

Create a new menu entry and link it to the process definition.

Add the process definition to role "F&B España - Procurement", which only has access to Spanish organizations.

Login with the role "F&B España - Procurement" and launch the process definition created before
Check organization selector shows all the organization. It's wrong, it should show only spanish orgs
Check business partner selector wrongly shows US business partners.

Open Purchase Order window and create new record.
Verify org selector, which is a TableDir, shows only spanish organization. This is OK


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker