Keyword

Granular Admin ACL Rules

  • Andrew Rutter
  • Andrew Rutter's Avatar Topic Author
  • Offline
  • New Member
More
14 years 7 months ago #89781 by Andrew Rutter
Granular Admin ACL Rules was created by Andrew Rutter
I am implementing a new site using K2 and am really pleased with the component, great work. One challenge I have for my implementation is a need to restrict certain low level admin fields. Specifically, for certain user groups I am looking to do the following:Limit the number of items users of a specific group can add in a categoryHide the Featured field in AdminHide certain admin tabs such as VideosIt seems that the only way to implement this is by modifying the core K2 code - which is understandable -  however it seems that K2HelperPermissions is not implicitly visible to admin views. Is this correct and if so what is the preferred mechanism for exposing front side classes to adminThanks in advanceAndrew

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

  • Andrew Rutter
  • Andrew Rutter's Avatar Topic Author
  • Offline
  • New Member
More
14 years 7 months ago #89782 by Andrew Rutter
Replied by Andrew Rutter on topic Granular Admin ACL Rules
I got this working - had to add the following to administraror/components/com_k2/views/item/view.html.php inside the display function

require_once (JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'permissions.php');

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


Powered by Kunena Forum