Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yaroslavbr opened this issue Jun 10, 2022 · 2 comments
Open

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

yaroslavbr opened this issue Jun 10, 2022 · 2 comments

Comments

@yaroslavbr
Copy link
Contributor

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

  • OroCommerce version: oro/commerce 5.0.3
    oro/commerce-enterprise 5.0.2
  • PHP version: PHP 8.1.5
  • Database PostgreSQL 13.5 (Debian 13.5-1.pgdg110+1) on x86_64-pc-linux-gnu
@OlegMufel
Copy link
Contributor

OlegMufel commented Jun 10, 2022

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
Copy link
Contributor Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants