diff --git a/admin/newgroup.php b/admin/newgroup.php index a989aee81f..c3c56efebc 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -29,7 +29,9 @@ if (! $error) { $phpgw->db->lock(array("accounts","groups")); - $phpgw->db->query("INSERT INTO groups (group_name) VALUES ('$n_group') "); + $phpgw->db->query("INSERT INTO groups (group_name,group_apps) VALUES " + . "('$n_group','" + . $phpgw->groups->array_to_string("none",$n_group_permissions) . "') "); $phpgw->db->query("SELECT group_id FROM groups WHERE group_name='$n_group'"); $groups_con = $phpgw->db->f("group_id"); @@ -97,6 +99,21 @@ } echo "\n"; + for ($i=0; $i" . lang_admin("Select permissions this group will have") . " " + . ""; + ?>