summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-12-21 07:16:07 +0100
committerlpsolit%gmail.com <>2005-12-21 07:16:07 +0100
commit77788555fd12b38f7db7022f84ed4f5eb17f5301 (patch)
treebaa3573feb5ffc4ee14dead2b5d513901f9ccc3d /editusers.cgi
parentbe43d4b573f7cebb627e88b46212c0903acf7c7b (diff)
downloadbugzilla-77788555fd12b38f7db7022f84ed4f5eb17f5301.tar.gz
bugzilla-77788555fd12b38f7db7022f84ed4f5eb17f5301.tar.xz
Bug 320436: New self-created accounts dont get regexp group memberships - Patch by Joel Peshkin <bugreport@peshkin.net> r=LpSolit a=justdave
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi
index bfc7eee14..290b8dbe4 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -180,6 +180,8 @@ if ($action eq 'search') {
# Lock tables during the check+creation session.
$dbh->bz_lock_tables('profiles WRITE',
'profiles_activity WRITE',
+ 'groups READ',
+ 'user_group_map WRITE',
'email_setting WRITE',
'namedqueries READ',
'whine_queries READ',
@@ -203,8 +205,6 @@ if ($action eq 'search') {
insert_new_user($login, $realname, $password, $disabledtext);
my $new_user_id = $dbh->bz_last_key('profiles', 'userid');
$dbh->bz_unlock_tables();
- my $newprofile = new Bugzilla::User($new_user_id);
- $newprofile->derive_regexp_groups();
userDataToVars($new_user_id);
$vars->{'message'} = 'account_created';