mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
* Filemanager: fix not working setting "No Access" permission on directories e.g. to hide (unwanted) group-directories
This commit is contained in:
parent
faeee31155
commit
5f5d8be49a
@ -1365,8 +1365,8 @@ class filemanager_ui
|
||||
{
|
||||
static $name2cmd = array('uid' => 'chown','gid' => 'chgrp','perms' => 'chmod');
|
||||
$cmd = array('EGroupware\\Api\\Vfs',$name2cmd[$name]);
|
||||
$value = $name == 'perms' ? static::perms2mode($content['perms']) : $content[$name];
|
||||
if(!$value) continue;
|
||||
$value = $name == 'perms' ? static::perms2mode($content['perms']) : ($content[$name] ?? '');
|
||||
if($value === '') continue;
|
||||
if ($content['modify_subs'])
|
||||
{
|
||||
if ($name == 'perms')
|
||||
@ -1892,4 +1892,4 @@ class filemanager_ui
|
||||
|
||||
$template->exec(__CLASS__ . '::' . __METHOD__, $content, $sel_options, $readonlys, $preserve, 2);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user