Hikamarket Front End - Adding Users to a Store

  • Posts: 35
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
4 days 21 hours ago #371125

-- HikaShop version -- : 6.3.0
-- HikaMarket version -- : 6.0.0
-- Joomla version -- : 5.4.2

Hello

I'm testing the creation of sellers from the Hikamarket front end. When accessing the Store Administration Panel and editing the seller account, the option to add users to manage the store and assign them different permissions is available.
I've attached a screenshot.

I added a user to a seller account, but when they log in, they can't access the seller panel for that account. They log in as a regular registered user, and if I type the seller panel URL in the address bar, I get an error message indicating that I don't have permission. I've attached a screenshot.

Can you explain how to configure this functionality?

Thank you

Attachments:
Last edit: 4 days 21 hours ago by nmacri.

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

  • Posts: 26332
  • Thank you received: 4065
  • MODERATOR
4 days 14 hours ago #371194

Hello,

The permission error message could come from HikaMarket but it can also come from Joomla itself.
If the Joomla menu is configured with ACL ; Joomla itself will forbidden the access of the menu (page) and HikaMarket vendor/ACL system won't be even called.

You can try to access manually the vendor control panel using a non-sef url, such as : index.php?option=com_hikamarket&ctrl=vendor

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: 35
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
4 days 6 hours ago #371351

Hello

It was indeed a Joomla visibility issue. The menu that accesses the seller panel is restricted to the user group "Seller," and when a user is assigned to a store, their group doesn't change; they remain "Registered".

The question is, is there any way to make the user group change when they are assigned to a store?

Thanks

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

  • Posts: 26332
  • Thank you received: 4065
  • MODERATOR
3 days 13 hours ago #371362

Hello,

It is possible to make a user a vendor when he is added into a Joomla usergroup.
It is also possible to set a specific usergroup when a user is performing a vendor registration.

There are several settings regarding the registration and the joomla user groups : www.hikashop.com/support/documentation/1...nfig_market_register

But since you're using the multi-user vendor feature, it would require a custom plugin (and custom development) to handle all special cases.
Because a user can be added into a vendor by the vendor admin itself ; that user might be already admin of another vendor ; be assigned to multiple vendor account (and will have a special dropdown on the vendor control panel to choose the "current vendor").

I understand that letting the vendor control panel menu visible might not be the "best" ; but that menu can redirect to other pages if the account is not assigned with a vendor.

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: 35
  • Thank you received: 1
  • Hikamarket Multivendor Hikashop Business
1 day 8 hours ago #371386

I believe there are two different concepts mixed in your response, and I suspect this is due to my question not being entirely clear (the Spanish–English translation probably didn’t help).

On one hand, there is the vendor registration process (store owners within the marketplace), who register through the form:
index.php?option=com_hikamarket&view=vendormarket&layout=form

According to my configuration, when they register, they are automatically assigned to the “vendor” user group and can see a menu item to access their vendor control panel.

On the other hand, there is the functionality that allows a store owner (a user with the “vendor” role) to add additional users to their store from their configuration page:
/index.php?option=com_hikamarket&ctrl=vendor&task=form&Itemid=664
(this is the screen I shared in my original screenshot).

Based on this, what I don’t understand is:
why is a store owner able to add new users to their store if the “special cases” you mentioned are not handled?

What is the current purpose or intended use of allowing a vendor to add users to their store under this limitation? Currently, this feature doesn't seem to be useful in practice.

Thanks

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

  • Posts: 26332
  • Thank you received: 4065
  • MODERATOR
5 hours 23 minutes ago #371402

Hello,

I understand more your configuration. But I'm still reserved...
We can see to add another setting for users who are added as additional user of a vendor.
But it will be complicated to handle (correctly and with the needed security) the case when the user is removed from a vendor ; since it could allow "tricky actions" which would result of the removal of the usergroup to another "legitimate" user.
Even with just the "addition", it would require to select a Joomla User Group with no other "Joomla rights" that accessing that menu.

Once again, it would be best to let the "vendor control panel" menu available for everyone.
If the user has vendor access, he will see the vendor panel and be able to access the features ; otherwise HikaMarket will notify the user that he don't have the needed permissions.
In term of user experience AND security ; it is the best solution that I can recommend.

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.065 seconds
Powered by Kunena Forum