mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix delete button for extended acl (eacl) was always read-only, except for superuser.
This commit is contained in:
parent
687ed8746c
commit
77c08a8cc4
@ -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'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user