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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • fine-grained access control for CiviCRM Contact or groups
Pages: [1]

Author Topic: fine-grained access control for CiviCRM Contact or groups  (Read 1195 times)

ft_drupal

  • Guest
fine-grained access control for CiviCRM Contact or groups
March 27, 2008, 12:15:26 am
I have a site on top of Drupal and CiviCRM. It is desired to have fine-grained access control when sharing member contacts. For example, a chapter organizer should be allowed to access members/contacts in his/her chapter. Is it possible to achieve this with CiviCRM?
Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: fine-grained access control for CiviCRM Contact or groups
March 27, 2008, 09:24:22 am
You can set this up using CiviCRM Access Control (ACL's) - described here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Access+Control

Note that you'll need to create an ACL Role and a Group (with group type = access control) for each chapter - which may not scale that well for you if you have lots of chapters. We hope to address this / make configuring this type of setup easier - in a future release.
Protect your investment in CiviCRM by  becoming a Member!

ft_drupal

  • Guest
Re: fine-grained access control for CiviCRM Contact or groups
March 27, 2008, 09:56:29 pm
Thanks, Dave.
There is still one thing not explained in the documentation.
How to relate Drupal users with a CiviCRM group?
Is it done by synchronize users and contact? 
Besides, is it true that such access cotrol is not appliable to smart groups?
Thanks.

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: fine-grained access control for CiviCRM Contact or groups
March 27, 2008, 10:38:48 pm

Advanced search has an option for:"CMS User: " (top left, below search views). You can always create a smart group based on that

You can also use the "Add to Group" option in a profile to add drupal users to a specific group during the registration process.

You can apply acl's on a smart group. Giving a contact multiple acl's on smart groups is not very scalable (since it involves multiple left join's etc)

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • fine-grained access control for CiviCRM Contact or groups

This forum was archived on 2017-11-26.