fix wrong rights check

fixed rights check from commande to produit