M2.4.6, v1.2.8: Not automatically select the View All Order role

Created by Esther Nguyen, Modified on Tue, 13 Aug at 11:03 AM by Esther Nguyen

ISSUE:


When creating a sub-user, selecting the Approve Order Request role does not automatically select the View All Order role. While testing on the demo site, when selecting the Approve Order Request role, it will automatically select View All Orders.


SOLUTION:


To resolve the issue, please edit the file app/code/Bss/CompanyAccount/view/frontend/web/js/role/role-trees-view.js as below:


If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article