Skip to content

Commit

Permalink
Updating permissions hook
Browse files Browse the repository at this point in the history
  • Loading branch information
TJ Lewis committed Mar 12, 2012
1 parent dda2ba1 commit b29eb23
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions mapping/mapping.module
Expand Up @@ -19,13 +19,17 @@ function mapping_menu() {
} }


/** /**
* Implements hook_perm. Register permissions. * Implements hook_permission. Register permissions.
* *
* @return array * @return array
*/ */
function mapping_perm() { function mapping_permission() {
return array( return array(
PERM_MAPPING_VIEW_OBJECTS, PERM_MAPPING_VIEW_OBJECTS => array(
'title' => t(PERM_MAPPING_VIEW_OBJECTS),
'description' => t('View BAMP Mapping Interface.'),
'restrict access' => TRUE,
),
); );
} }


Expand Down

0 comments on commit b29eb23

Please sign in to comment.