Answers.Body: <p>This option was initially not permissioned which <a href="https://github.com/civicrm/civicrm-core/pull/19733" rel="nofollow noreferrer">caused errors</a> for some users who could access but not save field mappings. Now it is <a href="https://github.com/civicrm/civicrm-core/pull/26262" rel="nofollow noreferrer">well-aligned</a> for those who can an export can also save a mapping since version 5.63.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-11-22T20:27:42.977Z
Answers.LastActivityDate: 2023-11-22T20:27:42.977Z
Answers.UserDisplayName: Andy Burns
Answers.Body: <p>At some point it became a javascript form and it says <code>&lt;span ng-if=&quot;data.columns.length &amp;&amp; perms.admin&quot;&gt;</code>, so it means &quot;administer CiviCRM&quot;.</p>
  <p>See <a href="https://github.com/civicrm/civicrm-core/blob/097b4785cff256c7d46bb8ca8b394ed0d7483040/ang/exportui/export.html#L22" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/097b4785cff256c7d46bb8ca8b394ed0d7483040/ang/exportui/export.html#L22</a></p>
  <p>and</p>
  <p><a href="https://github.com/civicrm/civicrm-core/blob/097b4785cff256c7d46bb8ca8b394ed0d7483040/ang/exportui/exportui.js#L28" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/097b4785cff256c7d46bb8ca8b394ed0d7483040/ang/exportui/exportui.js#L28</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-08-29T13:58:13.303Z
Answers.Text: mmhh, I have users who do not have this permission ("administer CiviCRM") but the "Save field" button shows up.
Answers.UserDisplayName: masetto
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-28T18:34:04.060Z
Answers.LastActivityDate: 2022-10-28T18:34:04.060Z
Answers.UserDisplayName: Demerit
Body: <p>Drupal 7 - Civi 5.45.7
  In the past users have been able to create new field mappings (from the Advanced Search screen). Now I can't seem to find a way to allow them to do that without granting &quot;CiviCRM: administer CiviCRM&quot;. Am I just overlooking something? Is there a way to grant average users the ability to create and update field mappings?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-25T21:53:24.397Z
Comments.Text: My question is very similar, but I'm coming from a participant search. The users are given the option to save the field mapping, but when they press the save button they just get a spinning wheel against the button which keeps going. Is that what you get or is this just something similar. If it won't do it, it ought to say so! I certainly don't want to use what is an "allow everything" permission.
Comments.UserDisplayName: Mick Kahn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-27T03:25:43.557Z
Comments.Text: Ours is on contact and case searches (we don't have the events module on) the option is missing altogether - the admin role can see the "Save Fields" button at the bottom of the list of fields for export but non-admin users cannot.
Comments.UserDisplayName: RayWright
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-05-30T21:50:19.540Z
Comments.Text: So my problem is a bit different and I have now asked a separate question https://civicrm.stackexchange.com/questions/45026/problem-saving-field-mappings-for-export
Comments.UserDisplayName: Mick Kahn
Tags: <export><advanced-search><field-mapping>
Title: What permission set allows a user to be able to save a field mapping?
ThreadText: # What permission set allows a user to be able to save a field mapping?
  
  (Asked by: username_0 on 2022-10-28)
  
  Drupal 7 - Civi 5.45.7
  In the past users have been able to create new field mappings (from the Advanced Search screen). Now I can't seem to find a way to allow them to do that without granting "CiviCRM: administer CiviCRM". Am I just overlooking something? Is there a way to grant average users the ability to create and update field mappings?
  
  **Tags:** export, advanced-search, field-mapping
  
  > **Comments:**
  > **username_1**: My question is very similar, but I'm coming from a participant search. The users are given the option to save the field mapping, but when they press the save button they just get a spinning wheel against the button which keeps going. Is that what you get or is this just something similar. If it won't do it, it ought to say so! I certainly don't want to use what is an "allow everything" permission.  
  > **username_0**: Ours is on contact and case searches (we don't have the events module on) the option is missing altogether - the admin role can see the "Save Fields" button at the bottom of the list of fields for export but non-admin users cannot.  
  > **username_1**: So my problem is a bit different and I have now asked a separate question https://civicrm.stackexchange.com/questions/45026/problem-saving-field-mappings-for-export  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2023-11-22. Score: 0
  
  This option was initially not permissioned which [caused errors](https://github.com/civicrm/civicrm-core/pull/19733) for some users who could access but not save field mappings. Now it is [well-aligned](https://github.com/civicrm/civicrm-core/pull/26262) for those who can an export can also save a mapping since version 5.63.
  
  
  ---
  
  ### Answer by username_3 on 2022-10-28. Score: 0
  
  At some point it became a javascript form and it says , so it means "administer CiviCRM".
  
  See <https://github.com/civicrm/civicrm-core/blob/097b4785cff256c7d46bb8ca8b394ed0d7483040/ang/exportui/export.html#L22>
  
  and
  
  <https://github.com/civicrm/civicrm-core/blob/097b4785cff256c7d46bb8ca8b394ed0d7483040/ang/exportui/exportui.js#L28>
  
  > **Comments:**
  > **username_4**: mmhh, I have users who do not have this permission ("administer CiviCRM") but the "Save field" button shows up.  
  
  ---
  
  