Skip to Content Skip to Menu

[SOLVED] CB 2.0 Admin not able to access Config and tools links?

  • imaaxx
  • imaaxx
  • OFFLINE
  • Posts: 126
  • Thanks: 11
  • Karma: 2
10 years 2 months ago - 10 years 1 month ago #248016 by imaaxx
Hello,

I have my site set to allow administrators to be able to access the CB Config and tools section however for some reason they are not able to? They get a not allowed for your user group error.

Is this a know issue?

Thanks
Alan
Last edit: 10 years 1 month ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 2 months ago #248055 by krileon
Both Configuration and Tools require core.admin permission, which is Joomla "Super Admin" permission. Both of those pages can make serious changes to your sites behavior so they're locked to only the highest permissions. You can grant Administrators the "Super Admin" permission within Site > Global Configuration > Permissions. Other pages locked to this permission include all our Permission pages and plugin installation.


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.

  • imaaxx
  • imaaxx
  • OFFLINE
  • Posts: 126
  • Thanks: 11
  • Karma: 2
10 years 2 months ago #248654 by imaaxx

krileon wrote: Both Configuration and Tools require core.admin permission, which is Joomla "Super Admin" permission. Both of those pages can make serious changes to your sites behavior so they're locked to only the highest permissions. You can grant Administrators the "Super Admin" permission within Site > Global Configuration > Permissions. Other pages locked to this permission include all our Permission pages and plugin installation.


Hello,

We don't want to have to give our members Full Super user level, we just need to give them access to the tools and config like we do in CB 1.9.1 now. I have gone into the permission for the Cb 2.0 configuration and enabled the admin user to this level but that does not work as it should. Is there some way we can get that working so we dont have to give them full Super user? This is extremely important to us and im sure others would like this ability in CB 2.0.

Thanks
Alan

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 1 month ago #248712 by krileon
CB Config and CB Tools can cause very serious alterations to the site. We've restricted it to highest permission due to this. The permission pages are also the same. Internally we've agreed it's best to keep both at highest permission and won't be changing it. There's no way to change this without altering the backend XML views to check for a different permission level.

Is there a reason you want users to have access to Tools and Configuration without other Super User permissions? If you're needing them to run User Sync regularly then I highly suggest fixing the issue instead of using the tool as a bandaid for a much more serious problem.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 1 month ago #248734 by krileon
Ok, we've discussed internally and are changing the Tools and Configuration pages to use CBs global permissions, which are configured in CB > Configuration > Permissions. Giving a user "Configure" permission will give them access to Tools and Configuration. You can quickfix and test this by making the below change.

IN: administrator/components/com_comprofiler/xmlcb/controllers/frontcontroller.xml
ON: Line 34
FROM:
Code:
<action name="tools" request="task" action="tools" permission="core.admin" permissionasset="root">
TO:
Code:
<action name="tools" request="task" action="tools" permission="core.admin" permissionasset="com_comprofiler">
ON: Line 82
FROM:
Code:
<action name="config" request="task" action="showconfig" permission="core.admin" permissionasset="root">
TO:
Code:
<action name="config" request="task" action="showconfig" permission="core.admin" permissionasset="com_comprofiler">

Once done navigate to CB > Configuration > Permissions as a Super User (permissions pages will still be locked to Super Users as will Plugin Install) then give the usergroups of your choosing the "Configure" permission. Note they still need backend access of some kind so they can even reach CB or login to backend.


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.
The following user(s) said Thank You: imaaxx

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

  • imaaxx
  • imaaxx
  • OFFLINE
  • Posts: 126
  • Thanks: 11
  • Karma: 2
10 years 1 month ago #248743 by imaaxx
Hello,

I am glad you have agreed this is an ideal option for many users. In other words we trust most of our clients to understand the risks of editing the configuration pages and tools, but we still need to keep them from the main Joomla Configuration page for obvious reasons.

By using the built in permissions makes the most sense for me too, so again we are glad you and your team agree.

Will this update be added into the next cb 2.0 RC versions? and all future versions? as we prefer not to edit the core files and we can wait till it is live in your install packages. Since we are only on a testing site now, there is no hurry and we are happy to wait.

Best Regards

Alan

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

Moderators: beatnantkrileon
Powered by Kunena Forum