function filebrowser_perm in Filebrowser 7.2
Same name and namespace in other branches
- 8 drupal6/hooks.inc \filebrowser_perm()
- 5 filebrowser.module \filebrowser_perm()
- 6.2 filebrowser.module \filebrowser_perm()
- 6 filebrowser.module \filebrowser_perm()
- 7.4 drupal6/hooks.inc \filebrowser_perm()
- 7.3 drupal6/hooks.inc \filebrowser_perm()
hook_perm implementation.
File
- drupal6/
hooks.inc, line 20
Code
function filebrowser_perm() {
return array(
FILEBROWSER_CREATE_DIRECTORY_LISTING,
FILEBROWSER_DELETE_OWN_DIRECTORY_LISTINGS,
FILEBROWSER_DELETE_ANY_DIRECTORY_LISTINGS,
FILEBROWSER_EDIT_OWN_DIRECTORY_LISTINGS,
FILEBROWSER_EDIT_ANY_DIRECORY_LISTINGS,
FILEBROWSER_VIEW_DIRECORY_LISTINGS,
FILEBROWSER_UPLOAD,
FILEBROWSER_DOWNLOAD_ARCHIVE,
FILEBROWSER_DELETE_FILE,
FILEBROWSER_DOWNLOAD,
FILEBROWSER_CREATE_FOLDER,
);
}