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) »
  • Can you restrict access to a set of contacts without blocking access to all grou
Pages: [1]

Author Topic: Can you restrict access to a set of contacts without blocking access to all grou  (Read 489 times)

Ed

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 7
  • MySQL version: ?
  • PHP version: ?
Can you restrict access to a set of contacts without blocking access to all grou
September 11, 2013, 02:56:26 am
Hello,

We need to set up user permissions to restrict access to sensitive data e.g. young people or celebrities

We've done this on a test server by:

1. removing permissions to view/edit all contacts within Drupal Access Controls
2. creating a smart group for all contacts not in "Young people" or "Celebrity" groups
3. giving the basic CRM user ACL group permissions to edit all contacts within this smart group

This all works fine. However, the consequence of using this set up would be that basic CRM users (most staff) can not use any other groups. This is quite a big problem as groups are the main way we organise contact data and it also stops staff using CiviMail and searching on groups.

Giving permission to view additional groups would seem to undermine the whole purpose of restricting access because if, for instance, a contact in the restricted "Young People's" group was also in the a "Monthly enews" groups then any contact with permission to view Monthly enews would have access to this contact too.

My question is: can you restrict access to a set of contacts without blocking access to all groups?

Thanks,

Ed

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: Can you restrict access to a set of contacts without blocking access to all grou
September 11, 2013, 07:42:09 am

groups are the containers thru which all permissioning is implemented. So you need to give folks access to all the groups (and hence contacts) that they need to interact with. You should only be able to send a mailing to a contact who you have view/edit permissions on

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

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Can you restrict access to a set of contacts without blocking access to all grou
September 11, 2013, 10:11:08 am
If I can restate this question - it sounds like there's a desire to have a "Deny access" ACL.  The short answer is no - CiviCRM doesn't currently support denying access via ACLs, just granting them.

If this is an important feature for you all, you may want to consider sponsoring its development.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

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: Can you restrict access to a set of contacts without blocking access to all grou
September 11, 2013, 10:23:25 am

also check:

http://civicrm.org/node/381

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) »
  • Can you restrict access to a set of contacts without blocking access to all grou

This forum was archived on 2017-11-26.