CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Restricting Joomla Managers to *only* CiviCRM
Pages: [1]

Author Topic: Restricting Joomla Managers to *only* CiviCRM  (Read 5769 times)

Erich

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 1
Restricting Joomla Managers to *only* CiviCRM
June 19, 2012, 07:56:42 pm
The only component I would like managers on my site (Joomla 2.5.6) to be able to access is CiviCRM (4.1.3).  However, when I log in using an ID with Manager permissions, I do not see CiviCRM in the Components menu (though I do see it there when I log in using an ID with Superuser permissions).

I tried to add it by going to Extensions > Extension Manager, clicking Manage, selecting CiviCRM, clicking Options and "allowing" Access Administration Interface -- but this ended up allowing Managers to access the Extension Manager and not CiviCRM.

Ideally, I'd like to just add a CiviCRM Quick Icon to the control panel, and just hide the Components menu entirely... but I don't know how to do either of these.  I'm not new to Joomla, but I am new to Joomla 2.5).

Any ideas?

nt81

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Joomla 1.7
  • MySQL version: MySQL client version: 5.0.51a
  • PHP version: 5.2.9
Re: Restricting Joomla Managers to *only* CiviCRM
June 22, 2012, 01:24:54 am
Hi Erich,

If I'm understanding your concern correctly, then I believe the following should help you achieve what you're trying to do:

To limit users, such as "user1", to the CiviCRM component only:

1. Log in to the Joomla back end as admin.

2. From the top menu, under Users > Groups, add a new group called "CiviCRM Manager" (or however you want to name it) and make this group of parent "Manager".

3. From the top menu, under Users > User Manager, Assign "user1" to the new "CiviCRM Manager" group (and only to the new "CiviCRM Manager" group).

4. From the top menu, select Components > CiviCRM.

5. Once at the "CiviCRM Home" page, from the CiviCRM top menu select Administer > Users and Permissions > Permission (Access Control) and in the opened page, click on the Joomla Access Control link found at the center of the page. This will open the com_civicrm_configuration window.

6. From the com_civicrm_configuration window, expand the "CiviCRM Manager" group you created earlier. Go through all the 68 actions listed and change the "Inherited" values, under the "Select New Setting" column, to "Allowed". Note that, by inheritance, some of the actions are already "Allowed" as indicated under the "Calculated Setting" column. If that's the case, I would personally keep the "Select New Setting" values as "Inherited". I would only change the "Inherited" values to "Allowed" only when the "Calculated Setting" for the listed action is "Not Allowed". Also, if you want to give "user1" access to everything CiviCRM, then I would allow every action, except the very first one (Configure Joomla! ACL). Of course, what I recommended is just my personal preference. If you know what each Action entails then Allow/Not Allow them as you see fit. Once done, apply the "Save & Close" button once done.

Once you're done with all of this, log out of the Joomla back end, and log back in as "user1". While logged in as "user1" you should still see the "Components" menu, yet a very limited version of it: "CiviCRM" should be listed under the "Components" menu; however, you shouldn't see the Extensions Manager.

Note that with this approach, now that you have created the new "CiviCRM Manager" group, in the future you could add as many users ("user2", "user3", etc.) to this group in case you need to have more CiviCRM Managers other than "user1".

I hope this is what you were looking for.

Erich

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 1
Re: Restricting Joomla Managers to *only* CiviCRM
August 08, 2012, 05:31:44 pm
(Sorry for the delay in replying)

Yes, as a result of carrying out the recommended steps, I am now able to see CiviCRM in the Components menu when I login as the "user1" user -- who is only a member of the new group I created, and not the Manager group.  (CiviCRM is also not visible in the Quick Icons portion of the control panel... not sure how to do that.)

However, I still see the following in the Components menu as the "user1" user:
Banners, Contacts, News Feeds, Search, Smart Search, and Weblinks

and the Help menu is still visible to the "user1" user as well.

When I created the new group and specified the group parent as "Manager", the new group showed up as follows in Group Manager:
Public       
|—   Manager       
|—|—   Administrator       
|—|—   CiviCRM Manager

Is this what you meant by "make this group of parent 'Manager'" ?

Erich

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 1
Re: Restricting Joomla Managers to *only* CiviCRM
August 11, 2012, 08:54:01 pm
Quote from: Erich on August 08, 2012, 05:31:44 pm
However, I still see the following in the Components menu as the "user1" user:
Banners, Contacts, News Feeds, Search, Smart Search, and Weblinks

I figured out how to disable these for the "user1" user... now the only Component visible to that user is CiviCRM -- which is what I wanted.

Quote from: Erich on August 08, 2012, 05:31:44 pm
and the Help menu is still visible to the "user1" user as well.

Still working on hiding this from the "user1" user...

dflorence

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: joomla 2.5 and testing 3.2.1
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Restricting Joomla Managers to *only* CiviCRM
October 08, 2012, 12:59:58 pm
Hi,

I was having same problem as erich and found nt81's detailed reply very helpful.

erich - would you mind helping by detailing in a similar manner what you did to remove the other components (banners, etc) as I too, and probably other joomla users setting up CIVI would like to know how to do it.

Many thanks (in anticipation)  ;)


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Restricting Joomla Managers to *only* CiviCRM

This forum was archived on 2017-11-26.