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

#   Admin Main Menu unaffected by permissions settings

##

- **[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")**
- [![coolcatcreative's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4236.gif)](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile") Topic Author
- [ Offline](/forum/user/4236-coolcatcreative)

Less More

- Posts: 34
- Thank you received: 0
-
-

14 years 8 months ago [\#40602](#40602) by [coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")  *[Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#40602 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")* was created by *[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")*

Hi,

Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under "Access", the Admin Main Menu still shows everything Hikashop (under "Components"), including "Configuration" that was one of the main things I wanted to hide from the client...

I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...

Thanks,
Zoltan

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 8 months ago [\#40605](#40605) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#40605 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")*

Hi,

That's not a bug. That menu cannot be dynamic as it is displayed by Joomla.
That's why you always see it.

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

- **[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")**
- [![coolcatcreative's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4236.gif)](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile") Topic Author
- [ Offline](/forum/user/4236-coolcatcreative)

Less More

- Posts: 34
- Thank you received: 0
-
-

14 years 8 months ago [\#41174](#41174) by [coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")  Replied by *[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")* on topic *[Re: Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#41174 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")*

Well, I understand... except having it that way seems to make the whole "access" tab kind of pointless.

The implementation might not be "buggy", but it seems like the logic might be.

If I have the "view" unchecked for the given group under "configuration", it does NOT show in the Hikashop menu, but it DOES show in the Joomla menu. So - is that "hidden"? No, it isn't. (Although at least the "manage" option seems to take the editing options away, but still the data is accessible.)

Per my (possibly incomplete) understanding, you can choose not to have any sub-menus for the Joomla menu for a component (Tienda has it that way) - if the display can't be dynamic, maybe the sub-menu should be eliminated, and the Hikashop menu should "take care of business".

BTW, for now, I went and hid the sub-menu using CSS on the Admin side template, but this is an "un-elegant" "hack" and doesn't make the access setting "work". (Not to mention, the limited user could look at the page source and find the link in it and go to the paqe using that, if they had any kind of web "savvy".)

What's your thoughts on this?

Zoltan

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 8 months ago [\#41379](#41379) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#41379 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")*

You must be using HikaShop on Joomla 2.5 because the library changed. We found out that the access check is not working properly on views of the backend with the current release.
The fix which will be included in next version of HikaShop is to add the code: Code:

function authorise($task){ return $this-&gt;authorize($task); }

before the code: Code:

function authorize($task){

in the file administrator/components/com_hikashop/helpers/helper.php
With that, the access to the view itself won't be allowed and thus hiding the menu in CSS is not really a problem.

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

- **[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")**
- [![coolcatcreative's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4236.gif)](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile") Topic Author
- [ Offline](/forum/user/4236-coolcatcreative)

Less More

- Posts: 34
- Thank you received: 0
-
-

14 years 8 months ago [\#41380](#41380) by [coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")  Replied by *[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")* on topic *[Re: Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#41380 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")*

Hi Nicolas,

I added the piece of code, and removed the CSS section to see what would happen, and the admin menu is back in "full bloom", i.e. config and all...

Maybe I did something wrong?

Zoltan

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

- **[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")**
- [![coolcatcreative's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4236.gif)](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile") Topic Author
- [ Offline](/forum/user/4236-coolcatcreative)

Less More

- Posts: 34
- Thank you received: 0
-
-

14 years 8 months ago [\#41381](#41381) by [coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")  Replied by *[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")* on topic *[Re: Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#41381 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")*

I meant to say but forgot: yes, I'm on J2.5

Zoltan

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 8 months ago [\#41382](#41382) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#41382 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")*

Did you click on the menu ? Can you see the view when you click on it ?
That modification is not to handle the joomla menu items but to forbid the access to the view when the access is not granted.

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

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

- **[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")**
- [![coolcatcreative's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4236.gif)](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile") Topic Author
- [ Offline](/forum/user/4236-coolcatcreative)

Less More

- Posts: 34
- Thank you received: 0
-
-

14 years 8 months ago [\#41385](#41385) by [coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")  Replied by *[coolcatcreative](/forum/user/4236-coolcatcreative "View coolcatcreative's Profile")* on topic *[Re: Admin Main Menu unaffected by permissions settings](/forum/3-bug-report/40602-admin-main-menu-unaffected-by-permissions-settings#41385 "Hi,  Having configured the permissions for a Store Manager, I noticed that while the Hikashop menu does reflect what I configured under &quot;Access&quot;, the Admin Main Menu still shows everything Hikashop (under &quot;Components&quot;), including &quot;Configuration&quot; that was one of the main things I wanted to hide from the client...  I checked and re-checked various Access options (Joomla and Hikashop) and I didn't find anything related, but if I simply missed something, please let me know...  Thanks, Zoltan")*

Now I understand...

And yes, it works now, thanks!

Zoltan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80MDYwMi1hZG1pbi1tYWluLW1lbnUtdW5hZmZlY3RlZC1ieS1wZXJtaXNzaW9ucy1zZXR0aW5ncz90bXBsPW1hcmtkb3du) 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?

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

Time to create page: 0.077 seconds

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