Skip to main content

Cannot remove shipping/billing address from Vendor's customer view.

More
7 years 1 month ago #310385 by lesk
I'm trying to remove the access rights for vendor to view the address of the customer. It works in the order view, but not in the customer listing where there is an edit button (I don't want/need the edit button, but that won't disappear either). I've had perfect success in configuring everything else, but this just refuses to work. I even have all the shipping module shut down because it's simply not required. The fact there is a button to access/deny this function means it is supposed to be switchable, yet when I attempt this it refuses to deny the shipping address on show or edit. It reverts back to green access.

Ideas?

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

More
7 years 1 month ago #310401 by Jerome
Hello,

Would it be possible to have a screenshot of what remains visible and also the ACL configured ?

Regards,

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

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

More
7 years 1 month ago #310403 by lesk
Hi Jerome
Here are the screenshots you requested.




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

More
7 years 1 month ago #310417 by Jerome
Hello,

Indeed there is an ACL for that section but it's not available via the interface.
In the file "administrator/components/com_hikamarket/type/market_acl.php" you have to replace
Code:
'user' => array( 'edit' => array( 'email', 'customfields', 'address' ), 'listing', 'show'
By
Code:
'user' => array( 'edit' => array( 'email', 'customfields', 'address' ), 'listing', 'show' => array( 'general', 'address' )
Then you will be able to give the "user/show/general" ACL but not the "user/show/address" one.

Regards,

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

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

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