News:

Looking for documentation? Take a look on our wiki

Main Menu

Frontend editing (2.0.11.d)

Started by reivaj01, September 20, 2012, 19:02:04 PM

Previous topic - Next topic

reivaj01

Hello

I'm testing the new functionality and I see that  the vendor A can edit a product from vendor B.

I don't know if this is a bug or if the feature is not finished now.

Regards

Milbo

Depends, which right have your vendors?
You can as super user edit all products. As normal vendor with manager rights you should not be able to change products of other vendors.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

reivaj01

Hello,

Thanks for your answer.

In virtuemart shoppers, vendor A is storeadmin and B is admin

In joomla, user A is a member of "spas" group, this group is under the registered group. User B is superadmin.

For test, i change the joomla group to manager or registered with the same results.

In the /components/com_virtuemart/virtuemart.php file, I can see the line "if   (Permissions::getInstance()->check("admin,storeadmin")) {" and this function only chek if the user is admin or superadmin, without distinction of any other rigths.

Regards