mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 21:32:46 +02:00
Disable "Change Owner" item from category context menu if it is a private one
This commit is contained in:
parent
94b726f883
commit
2e2d48ff1f
@ -369,7 +369,7 @@ class admin_categories
|
|||||||
$row['class'] .= ' rowNoEdit rowNoDelete ';
|
$row['class'] .= ' rowNoEdit rowNoDelete ';
|
||||||
}
|
}
|
||||||
// Can only edit (via context menu) categories for the selected app (backend restriction)
|
// 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 ';
|
$row['class'] .= ' rowNoEdit ';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user