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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Contact Search limited to smart group is not working.
Pages: [1]

Author Topic: Contact Search limited to smart group is not working.  (Read 443 times)

kaptnkaos

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.5
  • PHP version: 5.3
Contact Search limited to smart group is not working.
March 31, 2015, 11:44:23 am
I am attempting to set up a contact search page that is limited to a specific smart group based on the user.   For instance, one user might have access to the Oakland County contacts and another user might have access to Wayne County contacts.

to create the search page, I created a Profile with the following settings:

Used for: Standalone Form or Directory and Search Views

I created my ACL (with my test user assigned to it) and when setting up options to give it Edit rights on a group of contacts I notice the following:

IMPORTANT: The Drupal permissions for 'access all custom data' and 'profile listings and forms' override and disable specific ACL settings for custom field groups and profiles respectively. Do not enable those Drupal permissions for a Drupal role if you want to use CiviCRM ACL's to control access.

The problem is:

If I disable access to 'profile listings and forms' for my test user and I get an access denied error when trying to access the search page I created.

If I enable 'profile listings and forms' I can access the search page but I have access to every contact in the system.

What am I missing here?


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Contact Search limited to smart group is not working.

This forum was archived on 2017-11-26.