Hello!
I have a request from a customer to hide products on a person with multiple organizations on them. They want the same login for that person for both organizations. I know you can set rights on a person directly to hide products, which would be the simple solution but not the one they want. The whole current solution is also built with one channel in mind which feels like a bad choice right now.
Problem is:
A Person has 2 organisations on them. We call them Organization “AB” and Organization “AB-clothes”.
When they select org “AB” they will see everything.
When they select org “AB-clothes” they will only see certain items based on a product List set on the organization.
I have been dabbling a little with the ProductIndexBuilder and looking into the field “ProductOrganizationPointer” on the products. Still, I am afraid that if I start building indexes for organizations on the products it won’t show up when they are logged into the AB example.
Has anyone done anything similar or know of a simpler solution?