Commit 94f75639 authored by RoSk0's avatar RoSk0

#12348: Defined permissions in crm_core_match.

parent 212f748f
......@@ -189,3 +189,20 @@ function _crm_core_match_engine_weight_cmp($a, $b) {
return ($a->weight < $b->weight) ? -1 : 1;
}
/**
* Implements hook_permission().
*/
function crm_core_match_permission() {
return array(
'administer matching engines' => array(
'title' => t('Administer matching engines'),
),
'view matching engine rules configuration' => array(
'title' => t('View matching engine rules configuration'),
),
'view match information' => array(
'title' => t('View match information'),
),
);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment