If the role is supplier, and a supplier is only allowed to view products create by an account with supplier role, you can add a xpath constraint to the entity acces of product entity. The entity access should contain an xpath to [%CurrentUser%] over the association in which the ownership is stored.
Make a microflow datasource. In the microflow check the user role of the current user and split to do the different retrieves. The output of the microflow should be a list.
Regards,
Ronald