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 : view all contacts, edit only one group's contacts
Pages: [1]

Author Topic: ACL : view all contacts, edit only one group's contacts  (Read 620 times)

brigittem

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 1
ACL : view all contacts, edit only one group's contacts
April 21, 2010, 01:32:22 pm
Hi,

First, thank you for this very powerful soft and the help with the forum.

Here was my challenge today :

The group chief must edit all contacts in his group : I set an ACL role with "edit", "group XXX". It works fine  :)

But how to grant this group chief with the ability to view all contacts ?

I tried with an ACL role : "view" "all groups". But the user could also modify the contact = wrong

I tried with drupal permissions "view all contacts" : same results.

Did someone set up this succesfully ?

Brigitte

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: ACL : view all contacts, edit only one group's contacts
April 22, 2010, 11:05:12 am
Hi,
You said "I tried with an ACL role : "view" "all groups". But the user could also modify the contact = wrong", but I am not sure this is correct. Even though it shows "view" and "edit" next to the contacts, if you click on "edit" you will get a message that says you do not have permission to edit the contact.

I tested this as follows:
An ACL rule for the "chief" that allows "edit" capability for the chief's group.
A second ACL that allows "view" access for "All groups".

If your Drupal permissions for the Drupal role assigned to the "chief" are set correctly this should work correctly.

Cynthia

brigittem

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 1
Re: ACL : view all contacts, edit only one group's contacts
April 23, 2010, 01:57:08 am
Thanks for your reply.

I tested again and your configuration works by me too.

It's wrong when the contacts group is a smart group, althoug civicrm gives you the ability to choose a smart group.

Does anyone confirm this issue ?

Brigitte

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • ACL : view all contacts, edit only one group's contacts

This forum was archived on 2017-11-26.