Jump to content

(SOLUCIONADO) Show BO products only to the user who created it


bsldiego

Recommended Posts

 

Hello, I need to show the products in the backoffice only to the employee who created the product, for this I have created a new field in each product that is called employee and self-assigned with the name of the active employee.

Now what I need is to filter from the list of products so that if this user is not an administrator, he can only see and modify the products that he has created (that is, all the products that have in the custom field $ employee == the name of the employee current).  

The employee should not be able to see the products of others, only those he has entered.   I appreciate all the help. Greetings.

ejemplo.JPG

Edited by bsldiego (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...