function filedepot_permission in filedepot 7
Implementation of hook_perm().
File
- ./
filedepot.module, line 146 - filedepot.module Filedepot: File Management Module developed by Nextide www.nextide.ca Full featured document managment module with a desktop application feel. Integrated Organic Group, Role and User permissions to secure folders, automated…
Code
function filedepot_permission() {
return array(
'access filedepot' => array(
'title' => t('Access Filedepot'),
'description' => t('Access the filedepot main screen but possibly not any folders which have individual permissions setup from within the module. To set a folder permission inside the module requires you to be the folder admin and then select the folder. Hover over the folder name in the main display area and you will see the name change to a edit field like effect. Click on the folder name now, and you will get the edit folder dialog where there is a folder permissions button.'),
),
'administer filedepot' => array(
'title' => t('Administer Filedepot'),
'description' => t('Provides the user with overall admin rights including folder admin rights to all folders.'),
),
);
}