Skip to content
Snippets Groups Projects
Commit 1c939f54 authored by colemanw's avatar colemanw
Browse files

SearchKit - Fix permission to access task list

This regressed in 06ea32c2, as a new api action was added but permissions were not declared.
parent 10ca6485
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