function elfinder_cmd_permissions in elFinder file manager 6
Same name and namespace in other branches
- 8.2 elfinder.module \elfinder_cmd_permissions()
- 6.2 elfinder.module \elfinder_cmd_permissions()
- 7.3 elfinder.module \elfinder_cmd_permissions()
- 7 elfinder.module \elfinder_cmd_permissions()
- 7.2 elfinder.module \elfinder_cmd_permissions()
elFider commandsto permissions assignment
1 call to elfinder_cmd_permissions()
- elfinder_connector in ./
elfinder.module - File browser to filesystem php connector callback
File
- ./
elfinder.module, line 430
Code
function elfinder_cmd_permissions() {
$perm = array(
'create new directories' => 'mkdir',
'create new files' => 'mkfile',
'rename files and directories' => 'rename',
'file uploads' => 'upload',
'paste from clipboard' => 'paste',
'delete files and directories' => 'rm',
'duplicate files' => 'duplicate',
'edit files' => 'edit',
'add files to archive' => 'archive',
'extract files from archive' => 'extract',
'resize images' => 'resize',
);
$newcperms = module_invoke_all('elfinder_cmd_perms', $perm);
return $newcperms ? $newcperms : $perm;
}