forked from extern/egroupware
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';
|
||||
}
|
||||
}
|
||||
// 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'])
|
||||
{
|
||||
$row['class'] .= ' rowNoEdit ';
|
||||
$row['class'] .= ' rowNoEdit rowNoDelete ';
|
||||
}
|
||||
$readonlys['nm']["edit[$row[id]]"] = !self::$acl_edit;
|
||||
$readonlys['nm']["add[$row[id]]"] = !self::$acl_add_sub;
|
||||
|
Loading…
Reference in New Issue
Block a user