Skip to content
Snippets Groups Projects
Unverified Commit b2665ac9 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #21045 from colemanw/fixSearchKitTaskPermissions

SearchKit - Fix permission to access task list
parents 55b38645 1c939f54
Branches
Tags
No related merge requests found
......@@ -32,6 +32,8 @@ class SearchDisplay extends Generic\DAOEntity {
public static function permissions() {
$permissions = parent::permissions();
$permissions['default'] = ['administer CiviCRM data'];
$permissions['getSearchTasks'] = ['access CiviCRM'];
// Permission for run action is checked internally
$permissions['run'] = [];
return $permissions;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment