You are here

function services_raw_permission in Services Client 7.2

Same name and namespace in other branches
  1. 7 services_raw/services_raw.module \services_raw_permission()

Implements hook_permission().

File

services_raw/services_raw.module, line 16
Services Raw module provides alternative for saving different Drupal objects like nodes or users using direct API functiona calls instead of saving / updating objects with drupal_form_execute function.

Code

function services_raw_permission() {
  return array(
    'access raw node_save' => array(
      'title' => t('Access raw node_save function'),
      'description' => t('Allows access to raw node_save API call via services.'),
    ),
    'access raw user_save' => array(
      'title' => t('Access raw user_save function'),
      'description' => t('Allows access to raw user_save API call via services.'),
    ),
    'access raw field save/update' => array(
      'title' => t('Access raw field save/update function'),
      'description' => t('Allows access to raw field save/update API call via services.'),
    ),
  );
}