Answers.Body: <p>Yes. You can do this by embedding your Search Display in an Afform, and controlling the permissions from there. To do so you want to disable permission checks on the Search Display:</p>
  <p><a href="https://i.sstatic.net/3BwsW.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3BwsW.png" alt="Disable search display permissions" /></a></p>
  <p>And on the Afform you want to set the permission appropriate for your volunteers to be able to access the form:</p>
  <p><a href="https://i.sstatic.net/vj4w4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vj4w4.png" alt="Afform permissions" /></a></p>
  <p>To set url args for your search display, click on the tab for your display on the Afform, and select the field(s) you want to filter by. You can then select the name of the url argument:</p>
  <p><a href="https://i.sstatic.net/K6pNJ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/K6pNJ.png" alt="Url args" /></a></p>
  <p>Note that this is javascript-based so the argument goes after a hash sign like <code>http://example.org/civicrm/my-afform/#/?financial_type_id=3</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-12T13:45:36.317Z
Answers.Text: Thanks for the reply. The only reason I didn't go this route initially was because I was wanting a way to use URL params. On 5.41.2, afform doesn't seem to support them but search displays do. Does afform support this in a later release?
Answers.UserDisplayName: zach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-12T15:02:22.827Z
Answers.Text: Yes it does :) Updated answer.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-04-12T02:20:52.980Z
Answers.LastActivityDate: 2022-04-12T15:02:18.747Z
Answers.LastEditDate: 2022-04-12T15:02:18.747Z
Answers.UserDisplayName: Coleman
Body: <p>I have a SearchKit that is based on the Participants table. I created a table display that allows the user to see basic information on the participants (name, home city/state, participant status). This tool was designed to be used by a staff member to use when checking in participants. The staff member would view participants for a specific event (set by URL parameters) and then change the status of the participants as they arrived. This works well most of the time.</p>
  <p>We will be having an event where a volunteer will be checking in the participants. I am trying to create a role that allows minimal access to view this report. Unfortunately, the only way I've been able to make this visible is giving the following permissions: <strong>view all contacts, administer CiviCRM, access CiviCRM backend and API,</strong> and <strong>access CiviEvent</strong>. Is there a way view/use a SearchKit display without this high of permissions? I'm also open to other ideas of checking in participants by a non-staff.</p>
  <p>CiviCRM 5.41.2
  Drupal 7</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-04-07T16:03:41.563Z
Comments.Text: After doing some more testing, it looks like all SearchKit displays require the **CiviCRM: administer CiviCRM** permission. Once I put it into an afform, that permission is not required. However, I need it to be used as a SearchKit display so that I can use URL params. Is there a way to make a SearchKit display not require the **CiviCRM: administer CiviCRM** permission?
Comments.UserDisplayName: zach
Tags: <civievent><drupal><searchkit>
Title: Make a SearchKit viewable with minimal permissions
ThreadText: # Make a SearchKit viewable with minimal permissions
  
  (Asked by: username_0 on 2022-03-29)
  
  I have a SearchKit that is based on the Participants table. I created a table display that allows the user to see basic information on the participants (name, home city/state, participant status). This tool was designed to be used by a staff member to use when checking in participants. The staff member would view participants for a specific event (set by URL parameters) and then change the status of the participants as they arrived. This works well most of the time.
  
  We will be having an event where a volunteer will be checking in the participants. I am trying to create a role that allows minimal access to view this report. Unfortunately, the only way I've been able to make this visible is giving the following permissions: **view all contacts, administer CiviCRM, access CiviCRM backend and API,** and **access CiviEvent**. Is there a way view/use a SearchKit display without this high of permissions? I'm also open to other ideas of checking in participants by a non-staff.
  
  CiviCRM 5.41.2
  Drupal 7
  
  **Tags:** civievent, drupal, searchkit
  
  > **Comments:**
  > **username_0**: After doing some more testing, it looks like all SearchKit displays require the **CiviCRM: administer CiviCRM** permission. Once I put it into an afform, that permission is not required. However, I need it to be used as a SearchKit display so that I can use URL params. Is there a way to make a SearchKit display not require the **CiviCRM: administer CiviCRM** permission?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-04-12. Score: 6 | Accepted answer
  
  Yes. You can do this by embedding your Search Display in an Afform, and controlling the permissions from there. To do so you want to disable permission checks on the Search Display:
  
  [![Disable search display permissions](https://i.sstatic.net/3BwsW.png)](https://i.sstatic.net/3BwsW.png)
  
  And on the Afform you want to set the permission appropriate for your volunteers to be able to access the form:
  
  [![Afform permissions](https://i.sstatic.net/vj4w4.png)](https://i.sstatic.net/vj4w4.png)
  
  To set url args for your search display, click on the tab for your display on the Afform, and select the field(s) you want to filter by. You can then select the name of the url argument:
  
  [![Url args](https://i.sstatic.net/K6pNJ.png)](https://i.sstatic.net/K6pNJ.png)
  
  Note that this is javascript-based so the argument goes after a hash sign like `http://example.org/civicrm/my-afform/#/?financial_type_id=3`
  
  > **Comments:**
  > **username_0**: Thanks for the reply. The only reason I didn't go this route initially was because I was wanting a way to use URL params. On 5.41.2, afform doesn't seem to support them but search displays do. Does afform support this in a later release?  
  > **username_1**: Yes it does :) Updated answer.  
  
  ---
  
  