forked from extern/egroupware
Disable "Change Owner" item from category context menu if it is a private one
This commit is contained in:
parent
92e8ce7d0d
commit
37275f253b
@ -369,7 +369,7 @@ class admin_categories
|
||||
$row['class'] .= ' rowNoEdit rowNoDelete ';
|
||||
}
|
||||
// Can only edit (via context menu) categories for the selected app (backend restriction)
|
||||
if($row['appname'] != $query['appname'])
|
||||
if($row['appname'] != $query['appname'] || (array_sum($row['owner']) > 0))
|
||||
{
|
||||
$row['class'] .= ' rowNoEdit ';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user