function photos_permission in Album Photos 7.3
Implements hook_permission().
File
- ./
photos.module, line 490 - Implementation of photos.module.
Code
function photos_permission() {
return array(
'view photo' => array(
'title' => t('View photos'),
),
'create photo' => array(
'title' => t('Create photos'),
),
'edit own photo' => array(
'title' => t('Edit own photos'),
),
'delete own photo' => array(
'title' => t('Delete own photos'),
),
'edit any photo' => array(
'title' => t('Edit any photo'),
),
'delete any photo' => array(
'title' => t('Delete any photo'),
),
'allowed to vote' => array(
'title' => t('Allowed to vote on photos'),
),
'view vote list' => array(
'title' => t('Allowed to view vote list'),
),
'view original' => array(
'title' => t('View original image'),
),
);
}