Answers.Body: <p>You can use 'View' operation on the group of contacts. This will restrict the ACL role to search and view only the contacts in the group which you specified.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-07T16:26:01.357Z
Answers.Text: Thanks, I've tried that.  The users in the group granted this permission get an access denied message using a https:/mycivisite/civicrm/contact/search?reset=1 url.  Or any type of search url.   What should the above ACL specifically grant in the admin ui?
Answers.UserDisplayName: Peter_
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-07T16:31:12.043Z
Answers.Text: Is ''CiviCRM: access CiviCRM" drupal permission given for the drupal user's role? This permission will be needed alone with the above configured CiviCRM ACL for the user to search/view contacts in the specified group.
Answers.UserDisplayName: Ghost
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-07T17:42:50.400Z
Answers.Text: It looks like this is the direct link that should work for the user in the role.  https://mycivisite.com/civicrm/group/search?reset=1&force=1&context=smog&gid=5   Yes, the user in the role can already mange events.
Answers.UserDisplayName: Peter_
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-07T11:15:46.153Z
Answers.LastActivityDate: 2016-07-07T11:15:46.153Z
Answers.UserDisplayName: Ghost
Body: <p>I want to allow someone to send email to a group.</p>
  
  <p>So I'm trying to set up an ACL to allow for the searching for contacts in this group.  In the ACL definition dialog I'm choosing the 'search' operation and for type of data, 'a group of contacts'.  But I'm getting an error, "Only 'View' and 'Edit' operations are valid for this type of data."  </p>
  
  <p>It seems like this should be possible...but I don't understand the reason behind the error message.  </p>
  
  <p>Can anyone shed some light on how to do this?</p>
  
  <p>Thanks</p>
  
Tags: <email><search><acl>
Title: How do make an ACL to allow the searching of contacts in a smart group?
ThreadText: # How do make an ACL to allow the searching of contacts in a smart group?
  
  (Asked by: username_0 on 2016-07-07)
  
  I want to allow someone to send email to a group.
  
  So I'm trying to set up an ACL to allow for the searching for contacts in this group. In the ACL definition dialog I'm choosing the 'search' operation and for type of data, 'a group of contacts'. But I'm getting an error, "Only 'View' and 'Edit' operations are valid for this type of data."
  
  It seems like this should be possible...but I don't understand the reason behind the error message.
  
  Can anyone shed some light on how to do this?
  
  Thanks
  
  **Tags:** email, search, acl
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-07-07. Score: 1
  
  You can use 'View' operation on the group of contacts. This will restrict the ACL role to search and view only the contacts in the group which you specified.
  
  > **Comments:**
  > **username_0**: Thanks, I've tried that.  The users in the group granted this permission get an access denied message using a https:/mycivisite/civicrm/contact/search?reset=1 url.  Or any type of search url.   What should the above ACL specifically grant in the admin ui?  
  > **username_1**: Is ''CiviCRM: access CiviCRM" drupal permission given for the drupal user's role? This permission will be needed alone with the above configured CiviCRM ACL for the user to search/view contacts in the specified group.  
  > **username_0**: It looks like this is the direct link that should work for the user in the role.  https://mycivisite.com/civicrm/group/search?reset=1&force=1&context=smog&gid=5   Yes, the user in the role can already mange events.  
  
  ---
  
  