[Skip to main content](#vessel-content)

#   How to limit Access to control panel

##

- **[rfonta](/forum/user/30933-rfonta "View rfonta's Profile")**
- [![rfonta's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30933-rfonta "View rfonta's Profile") Topic Author
- [ Offline](/forum/user/30933-rfonta)

Less More

- Posts: 105
- Thank you received: 2
-
-

10 years 1 month ago [\#252940](#252940) by [rfonta](/forum/user/30933-rfonta "View rfonta's Profile")  *[How to limit Access to control panel](/forum/23-market-how-to/887016-how-to-limit-access-to-control-panel#252940 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7  Hello,  two questions : 1/ when a vendor is in the product creation page, the arrow on top left &quot;retour&quot; enable the vendor to go back (even if he didn't come from it) to the product listing and then if he clicks again on it he can go to control panel. I would like to avoid this, and potentially completely getting rid of this &quot;back&quot; button. 2/ in the control panel itself : 2.1/ I would like to hide the &quot;customer&quot; button ( I don't want the vendor to have any access to any customer vendor). how to do this? 2.2/ in the &quot;orders&quot; detail, how can I hide the information about the customer (name, email, adress,..) regards")* was created by *[rfonta](/forum/user/30933-rfonta "View rfonta's Profile")*

-- HikaShop version -- : 2.6.0
-- HikaMarket version -- : 1.6.7

Hello,

two questions :
1/ when a vendor is in the product creation page, the arrow on top left "retour" enable the vendor to go back (even if he didn't come from it) to the product listing and then if he clicks again on it he can go to control panel. I would like to avoid this, and potentially completely getting rid of this "back" button.
2/ in the control panel itself :
2.1/ I would like to hide the "customer" button ( I don't want the vendor to have any access to any customer vendor). how to do this?
2.2/ in the "orders" detail, how can I hide the information about the customer (name, email, adress,..)
regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDE2LWhvdy10by1saW1pdC1hY2Nlc3MtdG8tY29udHJvbC1wYW5lbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 1 month ago [\#252955](#252955) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to limit Access to control panel](/forum/23-market-how-to/887016-how-to-limit-access-to-control-panel#252955 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7  Hello,  two questions : 1/ when a vendor is in the product creation page, the arrow on top left &quot;retour&quot; enable the vendor to go back (even if he didn't come from it) to the product listing and then if he clicks again on it he can go to control panel. I would like to avoid this, and potentially completely getting rid of this &quot;back&quot; button. 2/ in the control panel itself : 2.1/ I would like to hide the &quot;customer&quot; button ( I don't want the vendor to have any access to any customer vendor). how to do this? 2.2/ in the &quot;orders&quot; detail, how can I hide the information about the customer (name, email, adress,..) regards")*

Hi,

1 - To remove the "back" button, you have two possibilities.
You can use a "custom plugin" with the trigger "onHikamarketBeforeDisplayView(&amp;$view)" and modify the $view-&gt;toolbar array.
You can also use a view override for the "toolbar / default" and modify the $data before his display.
The back button will be display using the key "cancel".

2 - The best would be to configure the ACL and to remove the access to the customers.
[ www.hikashop.com/support/documentation/2...l#tuto\_configure\_acl](https://www.hikashop.com/support/documentation/282-hikamarket-frontend-tutorial.html#tuto_configure_acl)
You will also be able to remove the access to the customer on the order details (and it will impact other elements, like the email notifications).

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDE2LWhvdy10by1saW1pdC1hY2Nlc3MtdG8tY29udHJvbC1wYW5lbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rfonta](/forum/user/30933-rfonta "View rfonta's Profile")**
- [![rfonta's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30933-rfonta "View rfonta's Profile") Topic Author
- [ Offline](/forum/user/30933-rfonta)

Less More

- Posts: 105
- Thank you received: 2
-
-

10 years 1 month ago [\#253229](#253229) by [rfonta](/forum/user/30933-rfonta "View rfonta's Profile")  Replied by *[rfonta](/forum/user/30933-rfonta "View rfonta's Profile")* on topic *[How to limit Access to control panel](/forum/23-market-how-to/887016-how-to-limit-access-to-control-panel#253229 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7  Hello,  two questions : 1/ when a vendor is in the product creation page, the arrow on top left &quot;retour&quot; enable the vendor to go back (even if he didn't come from it) to the product listing and then if he clicks again on it he can go to control panel. I would like to avoid this, and potentially completely getting rid of this &quot;back&quot; button. 2/ in the control panel itself : 2.1/ I would like to hide the &quot;customer&quot; button ( I don't want the vendor to have any access to any customer vendor). how to do this? 2.2/ in the &quot;orders&quot; detail, how can I hide the information about the customer (name, email, adress,..) regards")*

Hi,
I have successfully done the 1st modification, thanks.

for the second, I may have not understood. The only place where I saw a "customer" in ACL is in the order/edit/customer which I unchecked. But the button "customer" still appears in the cPanel.
I could actually make it disappear in an other way by modifying the view "cpanel" and putting a condition on the $btnName like this (on top of empty($btn), in line 19) :

if(empty($btn) or $btnName=='user')
continue;

however it seems to me pretty "rough"; could you (re)explain a better solution?

regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDE2LWhvdy10by1saW1pdC1hY2Nlc3MtdG8tY29udHJvbC1wYW5lbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 1 month ago [\#253232](#253232) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to limit Access to control panel](/forum/23-market-how-to/887016-how-to-limit-access-to-control-panel#253232 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7  Hello,  two questions : 1/ when a vendor is in the product creation page, the arrow on top left &quot;retour&quot; enable the vendor to go back (even if he didn't come from it) to the product listing and then if he clicks again on it he can go to control panel. I would like to avoid this, and potentially completely getting rid of this &quot;back&quot; button. 2/ in the control panel itself : 2.1/ I would like to hide the &quot;customer&quot; button ( I don't want the vendor to have any access to any customer vendor). how to do this? 2.2/ in the &quot;orders&quot; detail, how can I hide the information about the customer (name, email, adress,..) regards")*

Hi,

You missed some ACL in HikaMarket.
Please have a closer look ; specially for the "user" ACL category.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDE2LWhvdy10by1saW1pdC1hY2Nlc3MtdG8tY29udHJvbC1wYW5lbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[rfonta](/forum/user/30933-rfonta "View rfonta's Profile")**
- [![rfonta's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30933-rfonta "View rfonta's Profile") Topic Author
- [ Offline](/forum/user/30933-rfonta)

Less More

- Posts: 105
- Thank you received: 2
-
-

10 years 1 month ago [\#253348](#253348) by [rfonta](/forum/user/30933-rfonta "View rfonta's Profile")  Replied by *[rfonta](/forum/user/30933-rfonta "View rfonta's Profile")* on topic *[How to limit Access to control panel](/forum/23-market-how-to/887016-how-to-limit-access-to-control-panel#253348 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7  Hello,  two questions : 1/ when a vendor is in the product creation page, the arrow on top left &quot;retour&quot; enable the vendor to go back (even if he didn't come from it) to the product listing and then if he clicks again on it he can go to control panel. I would like to avoid this, and potentially completely getting rid of this &quot;back&quot; button. 2/ in the control panel itself : 2.1/ I would like to hide the &quot;customer&quot; button ( I don't want the vendor to have any access to any customer vendor). how to do this? 2.2/ in the &quot;orders&quot; detail, how can I hide the information about the customer (name, email, adress,..) regards")*

Ok, I could do it with using the "user" fields. I can't say that it was obvious that this "user" field would change the "customer" access in the cPanel. Maybe something to improve in the documentation?

Thank you.![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDE2LWhvdy10by1saW1pdC1hY2Nlc3MtdG8tY29udHJvbC1wYW5lbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 1 month ago [\#253352](#253352) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to limit Access to control panel](/forum/23-market-how-to/887016-how-to-limit-access-to-control-panel#253352 "-- HikaShop version -- : 2.6.0 -- HikaMarket version -- : 1.6.7  Hello,  two questions : 1/ when a vendor is in the product creation page, the arrow on top left &quot;retour&quot; enable the vendor to go back (even if he didn't come from it) to the product listing and then if he clicks again on it he can go to control panel. I would like to avoid this, and potentially completely getting rid of this &quot;back&quot; button. 2/ in the control panel itself : 2.1/ I would like to hide the &quot;customer&quot; button ( I don't want the vendor to have any access to any customer vendor). how to do this? 2.2/ in the &quot;orders&quot; detail, how can I hide the information about the customer (name, email, adress,..) regards")*

Hi,

Well, the internal name is "user" because it is related to the Joomla User and the HikaShop User table.
Afterwards, it has been called "customer" in HikaShop to avoid confusion with the Joomla interface.
Because the ACL are deeply link with the code and the internal structure ; if I rename it "customer" I know that it will generate unwanted side effects.

But yes, we plan to write a brand new documentation page for the ACL in HikaMarket ; I just need to finish some current work on HikaShop 3 before the release of the beta.

Regards,

---

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

The following user(s) said Thank You: [rfonta](/forum/user/30933-rfonta "View rfonta's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3MDE2LWhvdy10by1saW1pdC1hY2Nlc3MtdG8tY29udHJvbC1wYW5lbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
