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) »
  • ACL conundrum - how to prevent adding of duplicate contacts
Pages: [1]

Author Topic: ACL conundrum - how to prevent adding of duplicate contacts  (Read 12949 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
ACL conundrum - how to prevent adding of duplicate contacts
July 25, 2013, 12:18:05 pm
We are scaling up by using some volunteers to manage programmes - for that they need access to the CRM, but only to those contacts we give them access to, not the entire database - however we would encourage them to add their own contacts...

Drupal permissions: we have allowed add contacts and nothing else...

Through ACL they have edit rights to a group of contacts.

Now the issue -

They can add a contact, and if they remember to select the group they have access to, then they can work with the contact - but civicrm only checks for duplicates within the group and not against the whole database -

So we either have to create new contacts for them or de-dupe all the time, either way it is an admin task we'd like to avoid.

Any ideas anyone?

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: ACL conundrum - how to prevent adding of duplicate contacts
July 25, 2013, 03:00:10 pm

the current acl system tries to enforce the same rule all the time

so a user has visibility to only a small set of contacts against which all checks happen or the entire DB. Might require some fudging of the dedupe code to say, ignore acl's during dedupe

u'll also need to think about how to handle a merge when they hit a contact outside their permissioning set

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) »
  • ACL conundrum - how to prevent adding of duplicate contacts

This forum was archived on 2017-11-26.