function sheetnode_permission in Sheetnode 7.2
Same name and namespace in other branches
- 7 sheetnode.module \sheetnode_permission()
Implements hook_permission().
File
- ./
sheetnode.module, line 25 - Module file for the sheetnode module.
Code
function sheetnode_permission() {
return array(
'create sheetnode' => array(
'title' => t('Create new sheetnode'),
'description' => t('Create new sheetnodes.'),
),
'edit own sheetnode' => array(
'title' => t('Edit own sheetnode'),
'description' => t('Edit own sheetnodes.'),
),
'edit any sheetnode' => array(
'title' => t('Edit any sheetnode'),
'description' => t('Edit any sheetnodes.'),
),
'delete own sheetnode' => array(
'title' => t('Delete own sheetnode'),
'description' => t('Delete own sheetnodes.'),
),
'delete any sheetnode' => array(
'title' => t('Delete any sheetnode'),
'description' => t('Delete any sheetnodes.'),
),
'create sheetnode template' => array(
'title' => t('Create sheetnode template'),
'description' => t('Create sheetnode templates.'),
),
'edit sheetnode settings' => array(
'title' => t('Edit sheetnode settings'),
'description' => t('Modify sheetnode settings and formatting.'),
),
);
}