Answers.Body: <p>You need the &quot;view all activities&quot; permission. See <a href="https://github.com/civicrm/civicrm-core/blob/fe68d8eea3ffaa1d495bfe2563b755897b1759b6/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/FullText/Activity.php#L32" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/fe68d8eea3ffaa1d495bfe2563b755897b1759b6/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/FullText/Activity.php#L32</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-23T16:51:05.940Z
Answers.Text: Correct! This solved the problem. Thank you so much. We didn't have this permission enabled because CRM editors already were accessing activities without problems, so we thought that this permission would be "embedded" in one of the permissions already granted.
Answers.UserDisplayName: icaria36
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-23T15:16:01.760Z
Answers.LastActivityDate: 2023-11-23T15:16:01.760Z
Answers.UserDisplayName: Demerit
Body: <p>Using the full-text search to find one word, as an admin I get some results but with with my test account (no admin privileges) I don't see any. This is a word that so far only appears in the &quot;Subject&quot; and &quot;Details&quot; fields of a couple of activities. Is there a permission I have missed to enable or is this a bug?</p>
  <p>More details (added later):</p>
  <ul>
  <li>With the same test account, using &quot;Find Activities&quot; and introducing the same word, the query shows search results correctly.</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-22T15:03:20.040Z
Comments.Text: Welcome to SE!  Can your test user see the details of those activities?
Comments.UserDisplayName: Aidan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-22T15:29:49.580Z
Comments.Text: Yes, with my test account I can see the activity with all its content, including the word I'm searching for. In our instance, CRM editors have the permission "CiviCRM: view all contacts" enabled, which includes the ability to see activities.
Comments.UserDisplayName: icaria36
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-11-22T17:04:05.640Z
Comments.Text: I have added more details to the description. "Find Activities" shows the correct results to the same user that gets no results with "Full-text Search".
Comments.UserDisplayName: icaria36
Tags: <activities><search-results><admin>
Title: How to make full-text search on activities show the same results to admins and regular CiviCRM editors?
ThreadText: # How to make full-text search on activities show the same results to admins and regular CiviCRM editors?
  
  (Asked by: username_0 on 2023-11-22)
  
  Using the full-text search to find one word, as an admin I get some results but with with my test account (no admin privileges) I don't see any. This is a word that so far only appears in the "Subject" and "Details" fields of a couple of activities. Is there a permission I have missed to enable or is this a bug?
  
  More details (added later):
  
  * With the same test account, using "Find Activities" and introducing the same word, the query shows search results correctly.
  
  **Tags:** activities, search-results, admin
  
  > **Comments:**
  > **username_1**: Welcome to SE!  Can your test user see the details of those activities?  
  > **username_0**: Yes, with my test account I can see the activity with all its content, including the word I'm searching for. In our instance, CRM editors have the permission "CiviCRM: view all contacts" enabled, which includes the ability to see activities.  
  > **username_0**: I have added more details to the description. "Find Activities" shows the correct results to the same user that gets no results with "Full-text Search".  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2023-11-23. Score: 1 | Accepted answer
  
  You need the "view all activities" permission. See <https://github.com/civicrm/civicrm-core/blob/fe68d8eea3ffaa1d495bfe2563b755897b1759b6/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/FullText/Activity.php#L32>
  
  > **Comments:**
  > **username_0**: Correct! This solved the problem. Thank you so much. We didn't have this permission enabled because CRM editors already were accessing activities without problems, so we thought that this permission would be "embedded" in one of the permissions already granted.  
  
  ---
  
  