function document_permission in Document 7
Same name and namespace in other branches
- 8.x document.module \document_permission()
Implementation of hook_perm().
File
- ./
document.module, line 8
Code
function document_permission() {
return array(
'administer document' => array(
'title' => 'Administer document settings',
),
'moderate document' => array(
'title' => 'Moderate documents',
),
'access document' => array(
'title' => 'Access documents',
),
'download document' => array(
'title' => 'Download documents',
),
'create document content' => array(
'title' => 'Create documents',
),
'delete own document content' => array(
'title' => 'Delete own documents',
),
'delete any document content' => array(
'title' => 'Delete any documents',
),
'edit own document content' => array(
'title' => 'Edit own documents',
),
'edit any document content' => array(
'title' => 'Edit any documents',
),
);
}