oroinc / orocommerce

Main OroCommerce package with core functionality.
http:///www.orocommerce.com/
Other
193 stars 84 forks source link

Products page does not work for new User with Sales roles #148

Open yaroslavbr opened 2 years ago

yaroslavbr commented 2 years ago

Summary
After creating new User in management console and logging with its credentials I am getting error on products page.

Steps to reproduce

  1. Create new Bussiness Unit (not sure if this step is related)
  2. Create new User with Sales roles as on screenshot and assign new BU 1
  3. Login with new User in Management console and go to Products page

Actual Result Error is shown instead of the page. 2

4

Expected Result
Products page should be shown

Details about your environment

OlegMufel commented 2 years ago

We couldn't reproduce your issue. Please clarify what you install? If we install oromarketplace we have much more roles, and if we set roles that you mentioned, we have no problem with Products page. And what is you busines case? You are trying to combine roles from marketplace and default oro roles.

yaroslavbr commented 2 years ago

@OlegMufel I am using logic from https://github.com/oroinc/order-split/tree/5.0/src/OroLab/Bundle/OrderSplitBundle and just tried to create Users owning different products - this is main use case. So just checked all roles related to the Sales . Will try to check other combinations of roles