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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • limit administration by role
Pages: [1]

Author Topic: limit administration by role  (Read 783 times)

luismiguel2001us

  • Guest
limit administration by role
September 20, 2009, 02:28:25 pm
Hi folks,

I am trying to configure civi so that certain users (in a given drupal role) can administer a contribution page. But that user group should not have access to any other portion of the civi administration section. I tried to lock civi down through the permissions settings in Drupal, and in order to allow that group to get to the following URL (www.myurl.com/civicrm/admin/contribute?reset=1&action=update&id=1) I have to enable "access civicrm" and "administer civicrm". If either one of these two options are not turned on, that group cannot administer the contribution page. However those two permissions also allow that user group to get to any other section in civi even though I have every other permission disabled in the drupal permission settings. Does someone know how I can ensure that a given user group can manage only a specific contribution page and nothing else? Thanks for your help.

Cheers,
Luis

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: limit administration by role
September 20, 2009, 05:26:01 pm

i dont think the above is possible with civicrm via the UI. You will probably need to modify the code to do so

one option might be to inject a menu item (via xmlMenu hook) that has different permisisoning than what we have specified, and use a drupal based permission for that. You can potentially use a custom permissioning function to give access to a certain set of folks for id=1 and a different set of folks for other ids

ping us on irc if u wanna chat about it

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

luismiguel2001us

  • Guest
Re: limit administration by role
September 20, 2009, 08:04:13 pm
Hi Lobo,

Thanks for the quick response. I think for the time being I will manage the administration as needed and forego any customizations. Thanks again for your helpful suggestions.

Cheers,
Luis

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • limit administration by role

This forum was archived on 2017-11-26.