You are here

function gmap_location_permission in GMap Module 7.2

Same name and namespace in other branches
  1. 7 gmap_location.module \gmap_location_permission()

Implements hook_permission().

File

./gmap_location.module, line 51
GMap Location module is a module to add some gmap funcationality based on location.modules information.

Code

function gmap_location_permission() {
  return array(
    'view node map' => array(
      'title' => t('View node map'),
      'description' => t('See the sitewide node map.'),
    ),
    'view user map' => array(
      'title' => t('View user map'),
      'description' => t('See the sitewide user map.'),
    ),
    'view user location details' => array(
      'title' => t('View user location details'),
      'description' => t('See the users associated with markers on the sitewide user map.'),
    ),
  );
}