Skip to Content Skip to Menu

[SOLVED] CB 1.2.1 Manager Access Error

14 years 4 months ago #121499 by SoulieBaby
Replied by SoulieBaby on topic Re:CB 1.2.1 Manager Access Error
beat wrote:

CB uses Joomla's ACL system at multiple places to determine if a level can edit users in backend.

More precisely the permission "canManageUsers".

You need to change that in Joomla, in Joomla 1.5 that will be a hack in the PHP file defining that ACL level. Just search for that string canManageUsers in Joomla.

Use Joomla forums too, probably problem has been addressed there.

Joomla 1.6's ACL will solve those issues.


K thanks, what I did end up doing was set the client to "Administrator" and hid the user manage icon/sub menu.. Similar to what you're suggesting :) Thanks again

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

  • GUEST
14 years 1 month ago #129684 by
Hi everybody, I think I've found an elegant way to give access to managers:
  1. First, you need to install JACLplus (I didn't test it without this, but it maybe "could" work without it). Then, you can add 3 entries in table 'jos_jaclplus_acl' for giving access to managers:
    aco_section='com_users', aco_value='block user', aro_section='users', aro_value='23', enable=1
    (repeat this 2 times with aco_value='manage' and aco_value='email_events')
  2. In 'administrator/components/com_comprofiler/admin.comprofiler.controller.php', modify function 'saveUser' to add 23 in array of permissions => in_array( $myGid, array( 23, 24, 25 ) )
  3. In 'administrator/components/com_comprofiler/library/cb/cb.acl.php', modify function 'checkCBpermissions' to add 23 in array of permissions => in_array( $myGid, array( 23, 24, 25 ) )

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
14 years 1 month ago #129756 by krileon
Replied by krileon on topic Re:[SOLVED] CB 1.2.1 Manager Access Error

Hi everybody, I think I've found an elegant way to give access to managers:

ACL modification extensions are not supported. This means once it is installed; we won't/can't help you with any issues further in the future and if we do attempt to help will insist such extensions be completely removed. The same applies to core edits (as you've done to CBs admin controller and ACL api).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn