Hikamarket – Vendor ACL isn’t working

  • Posts: 8
  • Thank you received: 0
9 years 6 months ago #200733

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 2.4.0 starter
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : FF37

Dear Support

We created in the backend a new user group ‚vendor’.
In Hikamarket we assigned the user group ‘vendor’ under configuration for new vendor creation.
In Hikamarket in menu ‘access’ we disabled the entire part for "characteristics".

Thereafter we used the menu ‘vendor page’ from Hikamarket to create a new vendor.

Now we create a new vendor in the frontend with ‘registration form’ from the ‘vendor page’.

The system creates a new Joomla user and a new Hikamarket vendor.

We can see a new user in Backend under Joomla User – the user is activated.
We can also see a vendor under Hikamarket – the vendor is also activated.

The Joomla User is assigned to the user group ‘vendor’. So the Joomla Standard is working correct.

When I log in with this new vendor in the frontend I have all authorizations, e.g. I can also work on characteristics!?
This is wrong. We don’t want this because we deactivated this ACL in the backend. In our opinion this ACL setting isn’t working correctly.

In backend under Hikamarket – Vendor we see that the vendor is not assigned to any user group.
Is this correct ??

When we assign manually the user group ‘vendor’ to this new vendor than the system is using the Hikamarket Access Settings.

How can we get the Hikamarket ACL to a new vendor automatically?

Kind regards

[localhost on XAMPP 1.8.3]

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 6 months ago #200738

Hi,

The user group and the vendor groups are two different elements.
You can use a plugin in order to link the user group with the vendor group (plugin named "user / HikaMarket Vendor groups").

Otherwise, you can use the HikaMarket default access if you want to specify rules for every vendors in your store.
Even if you are using the "default access", you can specify manually a access configuration per vendor (if you want to override the default one).

The use of the ACL per "vendor group" is if you want to have different vendor groups in the future ; to have different rights between vendors (depending a subscription for example).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
9 years 6 months ago #200757

Hi Jerome

Thank you for your quick support.
1) We enabled the plugin and assigned the user group "vendor" without success before we started our post.
2) What do we have to do to get this feature "ACL per vendor group" enabled?
= User-Registration with automatically assign to a ACL group called "vendor"?
(We don't want to use the HM "default access".)

Enjoy your day.
Kr
Andrew

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 6 months ago #200760

Hi,

1/ The plugin goal is to make the synchronization between the vendor and his admin account when the admin account is modified.
So activating the plugin won't change the vendor groups ; you have to edit a Joomla user to make the plugin synchronize him.

2/ We have a section in our tutorial section which talk about it.
www.hikashop.com/support/documentation/1...l#tuto_configure_acl
You have the "default access" in the HikaMarket configuration but you have also the "Accesses" menu, where you can configure vendor and user rights.

Once the plugin "hikamarket vendor groups" is enabled, it will perform the link when a user is modified or created.
So for your vendor it should work.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
9 years 6 months ago #200773

Hi Jerome

thanks for your your post but we're not able to get it...

Please have a look into our screenshots.

1) Joomla User - automatically assigned to user group "Vendor" during registration process (Joomla standard, ok)



2) HM vendor accesses: "characteristics" disabled!


3) HM vendor "shop8"
We would expect a tick in the vendor group as marked with the arrow!?


Do we expect too much?

4) HM plugin enabled


Thx in advance.
Kr
Andrew

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 6 months ago #200778

Hi,

HikaMarket vendor groups (a "user" plugin) and not "HikaMarket vendor user group" (an "hikamarket" plugin).
I know that the names are similar but they are two different plugins in different plugin categories.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: waterkant

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
9 years 6 months ago #200818

Hi Jerome
Thank you for information, but no extra settings available.

This morning we installed our developer system online.
Could you please check it by yourselve?

Please have a look at your PM.
We'll send you login details asap.

Kr
Andrew

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 6 months ago #200846

Hi,

I fixed your configuration ; you will see that vendor "shop8" has now the right group.
You can edit another user (who is admin of a vendor) and see that the link will be perform.
I'll perform some modifications in HikaMarket to let that feature easier to activate.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
9 years 6 months ago #200850

Hi Jerome

Works perfect! Well done. :)
But where can we find the new configuration for our development system (in our local network)???
In other words - what changes did you make?

Enjoy your day
Regards

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 6 months ago #200851

Hi,

In the HikaMarket configuration, I forced the setting "link_admin_groups".
The setting and code was previously directly in the plugin but a part of the code moved into the vendor class.
For the moment you can add the setting in the HikaMarket configuration (configmarket / market) view :

<tr>
	<td class="key"><?php echo JText::_('HIKAM_LINK_VENDOR_GROUP_WITH_ADMIN'); ?></td>
	<td><?php
		echo JHTML::_('hikaselect.booleanlist', "config[link_admin_groups]",'',$this->config->get('link_admin_groups',0));
	?></td>
</tr>
But that code will be in the next release.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 8
  • Thank you received: 0
9 years 6 months ago #200969

Hi Jerome

Thank you for your support! Fast and helpful.
Kr
Andrew

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
7 years 10 months ago #258955

We are experiencing the same issue as OP.

The Joomla user is correctly added to the User Group: Silver
The HikaMarket vendor is not added to any group

We have:
- link_admin_groups: true
- HikaMarket vendor groups: enabled
- HikaMarket vendor user group: enabled

I notice that if I at some point later edit the Joomla User from the admin interface the group gets synced with the HikaMarket Vendor but this is not usable in production.

Info
Joomla! 3.6.5
HikaMarket Multivendor: 1.7.2

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 10 months ago #258967

Hi,

Please open a new thread ; that current thread have almost two years old and is not for the exact same subject.
Please provide screenshots of your configuration in that new thread and also screenshots to illustrate the problem you got (like the vendor details in the backend, the user details, etc).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.089 seconds
Powered by Kunena Forum