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 Import (Moderator: Yashodha Chaku) »
  • Import and ACL
Pages: [1]

Author Topic: Import and ACL  (Read 718 times)

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Import and ACL
June 19, 2012, 07:44:03 pm
How can I control what group the contacts are imported to?

Scenario
- Group A and B
- ACL setup such that Group A admin can view/edit/create contacts for Group A only, and Group B admin can view/edit/create contacts for Group B only.
- If I allow Group A admin to import contacts, he/she can potentially assign the contacts to Group B

Is there anyway to avoid that?  Theoretically, one can only import contacts to groups which one has Create right to.

Thanks!

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Re: Import and ACL
June 24, 2012, 08:18:05 pm
Sorry, I may have asked the question incorrectly.

The situation is like this
- Operator A has only View rights to Group 1 but have Edit rights to Group 2
- If we allow A to do import, he/she will see both Group 1 and Group 2 in his/her destination group list
- IE, he/she can import contacts to a group which he/she has the right to view only.

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: Import and ACL
June 25, 2012, 06:40:50 am

The view and edit rights are with regard to contacts not groups

In various parts of the code we expose all the groups that the user has some permission on, irrespective of whether it is view or edit

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

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Re: Import and ACL
June 25, 2012, 07:31:06 pm
Thanks Lobo.  Guess we will need to hack that part of the code.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Import and ACL

This forum was archived on 2017-11-26.