VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: gba on November 17, 2015, 15:50:05 PM

Title: [solved] User access rights for changing order statuses
Post by: gba on November 17, 2015, 15:50:05 PM
Hello all!

I am strugling creating a user, who has Role 'Manager' and shall be able to change order statuses, only.
Did anyone achieve that?
If yes, using which settings?
Thank you very much for any helpful hint in advance!

Kind regards,
Gerald
Title: Re: User access rights for changing order statuses
Post by: jenkinhill on November 17, 2015, 15:58:44 PM
Does this help?  http://docs.virtuemart.net/manual/general-concepts/185-administrative-frontend-access-with-acl.html
Title: Re: User access rights for changing order statuses
Post by: gba on November 17, 2015, 16:44:40 PM
Hi!

Thank you for the link.
I solved it this way:
- Add new user group under 'Manager' and assign user to it.
- In VM ACL for this new group in 'Permissions' enabled: 'Access Administration Interface', 'COM_VIRTUEMART_MANAGE_VENDORS'
- In VM ACL for this new group in 'Orders' enabled: 'Access Administration Interface', 'COM_VIRTUEMART_CHANGE_OS'

The problem was: I did not know, that I need also 'COM_VIRTUEMART_MANAGE_VENDORS' permission.

Best regards,
Gerald
Title: Re: [solved] User access rights for changing order statuses
Post by: Milbo on November 20, 2015, 00:38:27 AM
Thank you for writing the answer.

This is still a bit a miracle that you need that. When you use a singlvendor store, any admin should have the vendorId=1 and should so be able to see all orders.

But in multivendor store it should work so, either you are superadmin, then you can switch the vendorId, or you are just admin, then you get the vendorId=1, except you have already another vendorId.

So it sounds like you have two different vendorids, or your user is just a manger, not admin nor superadmin

When you enable the vmdebug, you should see either
- Active Mainvendor
or
- 'Active vendor ' with id behind, for example 2