mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Admin - Can't only delete categories for the selected app. Globals only deletable through Admin
This commit is contained in:
parent
529991e283
commit
17a759dbe1
@ -426,10 +426,10 @@ class admin_categories
|
|||||||
$row['class'] .= ' rowNoDelete';
|
$row['class'] .= ' rowNoDelete';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Can only edit (via context menu) Categories for the selected app (backend restriction)
|
// Can only edit or delete (via context menu) Categories for the selected app (backend restriction)
|
||||||
if($row['appname'] != $query['appname'])
|
if($row['appname'] != $query['appname'])
|
||||||
{
|
{
|
||||||
$row['class'] .= ' rowNoEdit ';
|
$row['class'] .= ' rowNoEdit rowNoDelete ';
|
||||||
}
|
}
|
||||||
$readonlys['nm']["edit[$row[id]]"] = !self::$acl_edit;
|
$readonlys['nm']["edit[$row[id]]"] = !self::$acl_edit;
|
||||||
$readonlys['nm']["add[$row[id]]"] = !self::$acl_add_sub;
|
$readonlys['nm']["add[$row[id]]"] = !self::$acl_add_sub;
|
||||||
|
Loading…
Reference in New Issue
Block a user