function custom_mod_action_info() {
return array(
'custom_mod_delete_user_cats' => array(
'label' => t('Delete a users cats'),
'type' => 'user',
'configurable' => FALSE,
'triggers' => array('any'),
),
);
}
This action is later used as VBO in a View.
I've defined an action like above in a custom module. How can I set some permissions so only users with a specific role can run this action?