i’m using RBAC plugin, and i added a Role named Seller and i want that every seller connected to my web site can only modify and delete just the products that he added and to see just commands of his own products not all products.
I have a solution but i don’t know how to do it :
i want to add a column in the product model and every inserted product will have the id of the seller that he inserted it and when he want to see his products of it’s own “Store” i will select products that contains the same id of the seller.
is it a good solution ? if it is how to do it ? or if there is another solution i’m here to and thanks for you help