public static function permissions() {
$permissions = parent::permissions();
$permissions['default'] = ['administer CiviCRM data'];
- $permissions['get'] = ['access CiviCRM'];
+ // Anyone with access to CiviCRM can view search displays (but not necessarily the results)
+ $permissions['get'] = $permissions['getDefault'] = ['access CiviCRM'];
+ // Anyone with access to CiviCRM can do search tasks (but not necessarily all of them)
$permissions['getSearchTasks'] = ['access CiviCRM'];
- // Permission for run action is checked internally
- $permissions['run'] = [];
+ // Permission to run or download search results is checked internally
+ $permissions['run'] = $permissions['download'] = [];
return $permissions;
}