VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: woood77 on November 30, 2013, 21:00:35 PM

Title: Orders ACL Not Working For Administrators - 2.0.24c
Post by: woood77 on November 30, 2013, 21:00:35 PM
Hello,

We are having trouble with Administrators seeing the Order list in Virtuemart 2.0.24c.  The Administrators can see products, categories, etc but not orders.

I have everything set in the ACL of Virtuemart to Allowed for Administrators but it still doesn't work.

The orders show for all Super Admins but we can't make the users Super Admins for security reasons.

Thanks for your help!
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: jenkinhill on November 30, 2013, 22:24:11 PM
Are they set also as vendors?
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: woood77 on December 01, 2013, 15:13:54 PM
I tried it both ways.  As a Vendor and also not as one.  Unfortunately it isn't working either way.

Do you have any other suggestions?

Thanks for your help!

EDIT:
I just noticed when editing the configuration there is a message stating:  The user with virtuemart_user_id = 1184 is set as vendor, but has no referencing vendorId.

This is the user that I assigned as a second vendor. 

Thanks again
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: wogand on December 01, 2013, 16:48:36 PM
I have the same problem. Enabling multi vendor and selecting user as vendor does not really do anything either.
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: Milbo on December 02, 2013, 11:31:45 AM
That means you should login as this user and fillout the vendor tab... store => Then he gets a vendorId and then the rest should work.
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: woood77 on December 02, 2013, 17:14:56 PM
Milbo,

I did as you suggested and filled out the Vendor tab for that user, which did resolve the vendorId issue.  However, the orders still do not show when the user is set as an Administrator.

Thank you for your help!
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: jenkinhill on December 02, 2013, 22:55:03 PM
Now try allocating some products that have been ordered to that vendor/administrator. The vendor should then see the orders of "their own" products.
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: woood77 on December 03, 2013, 19:51:42 PM
Jenkinhill,

I did as you suggested and added some products to the new vendor that is set as an Administrator.  However, when logging in as this Vendor I still don't see any orders at all.

Thanks for your help.

P.S.

If I could make a suggestion, in the future it'd be great if Administrators could see orders without having to go through this Vendor setup process and instead by assigning permissions in the ACL.
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: jenkinhill on December 03, 2013, 20:38:44 PM
The issue that I see is that in a multi-vendor store each vendor should only see their own orders and not those of other vendors. I thought that was the way it was set up a few versions ago, but have not had cause to test this as in my only multi-vendor store they are all set as superadmins. Maybe Milbo has something to add.
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: Milbo on December 03, 2013, 20:41:28 PM
Hello wood77

There is a mix with the old permission system and the new one. Go in the user tab of your desired vendor as superadmin and give him admin permissions. The ACL system is not completly done yet, more roughly implemented.
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: woood77 on December 06, 2013, 21:38:39 PM
Hi Milbo,

I've logged in as a Super Admin and am trying to find the User Tab you are referring to.  I see the user permissions are set to storeadmin in the Shoppers Properties but I am unable to change it to admin.

I'd appreciate any clarification you can provide.

Thank you again
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: trec-r on March 03, 2014, 21:30:02 PM
Did anyone get this to work? I am having the same problem.
Title: Re: Orders ACL Not Working For Administrators - 2.0.24c
Post by: Rune Rasmussen on September 29, 2014, 09:35:29 AM
The ACL system in VM seems to be totally lame, we need admins with less access rights for one vendor - not several vendors...

I'm quite sure the majority of the stores running VM and other OS carts are having one vendor/seller only, but they do have more than one "employees" handling orders etc. They can't all be vendors or system/super admins to be able to handle the orders??

From what I can see you now has to make a new admin group under 'System Admin', and then having to add restrictions, instead of starting with less access and add what's needed. This because 'System Admin' is the lowest access level in Joomla witch is making the user 'storeadmin' in VM...