mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 00:37:54 +02:00
Fix delete button for extended acl (eacl) was always read-only, except for superuser.
This commit is contained in:
@ -1118,7 +1118,7 @@ class filemanager_ui
|
||||
unset($readonlys['tabs']['filemanager.file.eacl']); // --> switch the tab on again
|
||||
foreach($content['eacl'] as &$eacl)
|
||||
{
|
||||
$eacl['path'] = parse_url($eacl['path'],PHP_URL_PATH);
|
||||
$eacl['path'] = rtrim(parse_url($eacl['path'],PHP_URL_PATH),'/');
|
||||
$readonlys['delete['.$eacl['ino'].'-'.$eacl['owner'].']'] = $eacl['ino'] != $content['ino'] ||
|
||||
$eacl['path'] != $content['path'] || !$content['is_owner'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user