You are here

function location_permission in Location 7.4

Same name and namespace in other branches
  1. 7.5 location.module \location_permission()
  2. 7.3 location.module \location_permission()

Implements hook_permission().

File

./location.module, line 159
Location module main routines. An implementation of a universal API for location manipulation. Provides functions for postal_code proximity searching, deep-linking into online mapping services. Currently, some options are configured through an…

Code

function location_permission() {
  return array(
    'submit latitude/longitude' => array(
      'title' => t('Submit Latitude / Longitude'),
      'description' => t('Allow the user to submit raw coordinates.'),
    ),
    'view location directory' => array(
      'title' => t('View location directory'),
      'description' => t('Allow the user to view the location directory view.'),
    ),
    'view node location table' => array(
      'title' => t('View node location table'),
      'description' => t('Allow the user to view the node location table view.'),
    ),
    'view user location table' => array(
      'title' => t('View user location table'),
      'description' => t('Allow the user to view the user location table view.'),
    ),
  );
}