You are here

function services_client_permission in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client.module \services_client_permission()

Implementation of hook_permission

Return value

array

File

./services_client.module, line 228
Services client module allows to push different types of objects on different types of events such as node_save, user_save to remote masters.

Code

function services_client_permission() {
  return array(
    'administer services client' => array(
      'title' => t('Administer the services client'),
      'description' => t('Manage services client connections, hooks and mappings'),
    ),
    'make services client requests' => array(
      'title' => t('Perform services client requests'),
      'description' => t('Grant permission to actually execute the services hooks'),
    ),
  );
}