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 Not Displaying Any Contacts
Pages: [1]

Author Topic: ACL Not Displaying Any Contacts  (Read 1024 times)

nessnzoe

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • GingerFeet LLC
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.14
  • PHP version: 5.3.6
ACL Not Displaying Any Contacts
November 13, 2010, 06:26:20 pm
Hi all,

I'm trying to test some functionality so I can advise a client. I think this should be pretty simple but I can't get to work and I have a couple of questions.

USE CASE: A director manages a number of donors (up to 100). That director needs to be able to log activities (phone calls, meetings) and enter notes for each donor without having access to updating the donor's contact information, entering contributions, etc. or being able to see any other contacts in CCRM.

Question #1: Can I limit access to just activities and notes on the contact record?

Right now I'm just trying to get my test environment to show me ANY contacts. Here's what I've done (based on this documentation - http://wiki.civicrm.org/confluence/display/CRMDOC32/Access+Control+Context+and+Overview):

1) I set up a group called "Director 1" that contains the director with access control (& User/User Admin Only) and a group called "Director 1 Contacts" that contains the donors (also with access control, but I don't think I need it there, correct?)
2) I setup a role called "Director 1"
3) Then an ACL called "Director 1" with the following settings:
     3.a) Type: A group of contacts
     3.b) Group: "Director 1 Contacts"
     3.c) Operation: Edit
     3.d) Role: "Director 1"
     3.e) Entered a description and left enabled checked
4) When I login as the Director user I set up in Drupal with the following Director role permissions, I can access CiviCRM, but there are no contacts:
     - access CiviCRM
     - access CiviMail (I do see this)
     - access Contact Dashboard (I do see this)
     - access all custom data (not sure since I can't see contacts and don't want the administer CCRM turned on)
     - view all activities (again, not sure since I can't see any contacts)

If I enable "view all contacts" then the user role has access to ALL the contacts even though I've set the ACL to edit (instructions from the documentation above). If I disable "view all contacts" then I don't see any contacts.

Question #2: Can anyone give me any suggestions about what I'm doing wrong?

Thanks folks,
Vanessa

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 Not Displaying Any Contacts
November 13, 2010, 06:43:43 pm

Answer #1: No. The permissioning ability in CiviCRM is not granular to the activities/notes level. You can edit all contact info including activies + notes or just view them.

did u assign the directory group to the director role:

http://drupal.demo.civicrm.org/civicrm/acl/entityrole?reset=1

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

nessnzoe

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • GingerFeet LLC
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.14
  • PHP version: 5.3.6
Re: ACL Not Displaying Any Contacts
November 14, 2010, 12:20:22 pm
Hi Lobo,

Thanks for the clarification about access level. If we want to have a director only enter activities and notes, can that be done through a profile?

And yes, I assigned the director group to the director role...sorry, left out that I'd completed that step.

Vanessa

nessnzoe

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • GingerFeet LLC
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.14
  • PHP version: 5.3.6
Re: ACL Not Displaying Any Contacts
November 14, 2010, 06:07:23 pm
Do I have to have the Drupal ACL module turned on?

jday

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 6
  • CiviCRM version: 4.2
  • CMS version: 7.15
Re: ACL Not Displaying Any Contacts
December 01, 2010, 08:14:03 pm
I'm having the opposite problem, my ACL admin can see all contacts.

I've set up a State Admin group, and a State Contacts group, assigned the state contacts group to the state admin group under "manage -> access control"
the permissions enabled for the admin are
-access CiviCRM
-access CiviContribute
-access CiviMail
-access all custom data
-add contacts
-profile listings
-profile listings and forms
-profile view

Now when I log in as the State Admin, I can still see all other groups and view and edit the contacts outside of the State Group.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: ACL Not Displaying Any Contacts
December 01, 2010, 08:31:01 pm
I guess state admin user inheriting permissions from other drupal user role.

u might want to logged in as main admin user and disable all permissions for authenticated user role from drupal permissions.

kiran
You Are Designed To Choose... Defined By Choice.

jday

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 6
  • CiviCRM version: 4.2
  • CMS version: 7.15
Re: ACL Not Displaying Any Contacts
December 04, 2010, 01:34:33 pm
my authenticated users have these permissions only
-access CiviMail subscribe/unsubscribe pages   
-access all custom data
-access uploaded files
-make online contributions
-profile listings and forms
-register for events
-view event info

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • ACL Not Displaying Any Contacts

This forum was archived on 2017-11-26.