You are here

function location_user_permission in Location 7.3

Same name and namespace in other branches
  1. 7.4 location_user.module \location_user_permission()

Implements hook_permission().

File

./location_user.module, line 11
Associate locations with users.

Code

function location_user_permission() {
  return array(
    'administer user locations' => array(
      'title' => t('administer user locations'),
    ),
    'view own user location' => array(
      'title' => t('view own user location'),
    ),
    'view all user locations' => array(
      'title' => t('view all user locations'),
    ),
    'set own user location' => array(
      'title' => t('set own user location'),
    ),
  );
}