'access CiviCRM',
],
];
+ $permissions['mapping'] = [
+ 'default' => [
+ 'access CiviCRM',
+ ],
+ ];
+ $permissions['mapping_field'] = $permissions['mapping'];
$permissions['saved_search'] = [
'default' => ['administer CiviCRM data'],
'ang/exportui',
],
'basePages' => [],
- 'permissions' => ['administer CiviCRM'],
'requires' => [
'crmUi',
'crmUtil',
<tr>
<td colspan="6">
<input class="crm-action-menu fa-plus crm-export-add-field" crm-ui-select="{data: getFields, placeholder: ts('Add field')}" ng-model="new.col" />
- <span ng-if="data.columns.length && perms.admin">
+ <span ng-if="data.columns.length">
<button type="button" ng-click="saveMappingDialog()" crm-icon="fa-save">
{{:: ts('Save Fields') }}
</button>
contact_type: '',
columns: []
};
- $scope.perms = {
- admin: CRM.checkPerm('administer CiviCRM')
- };
// For the "add new field" dropdown
$scope.new = {col: ''};
var contactTypes = _.transform($scope.contact_types, function (result, type) {