Closed Bug 889403 Opened 11 years ago Closed 11 years ago

syncLDAP.pl does not rederive regexp groups when updating login name

Categories

(Bugzilla :: User Accounts, defect)

4.2.6
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: pami.ketolainen, Assigned: pami.ketolainen)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
contrib/syncLDAP.pl script uses direct DB query to update the user login names, so the Bugzilla::User->derive_regexp_groups() does not get called.

Attached is a patch to use the User object to do the update.
Attachment #770221 - Flags: review?(LpSolit)
Comment on attachment 770221 [details] [diff] [review]
v1

Looks good. r=LpSolit
Attachment #770221 - Flags: review?(LpSolit) → review+
Assignee: general → pami.ketolainen
Status: UNCONFIRMED → ASSIGNED
Component: Bugzilla-General → User Accounts
Ever confirmed: true
Flags: approval?
Flags: approval4.4?
Target Milestone: --- → Bugzilla 4.4
Flags: approval?
Flags: approval4.4?
Flags: approval4.4+
Flags: approval+
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified contrib/syncLDAP.pl
Committed revision 8667.

Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/4.4/
modified contrib/syncLDAP.pl
Committed revision 8582.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: