Closed Bug 521536 Opened 16 years ago Closed 9 years ago

Allow user search by external id when using env authentication

Categories

(Bugzilla :: User Accounts, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 6.0

People

(Reporter: timello, Assigned: altlist)

References

Details

Attachments

(1 file, 1 obsolete file)

It would be nice if we can search for users by external id.
Status: NEW → ASSIGNED
Attached patch Adds user search by external id (obsolete) — Splinter Review
Attachment #405625 - Flags: review?(mkanat)
Severity: normal → enhancement
This would certainly be a nice thing to have. However, the patch depends on the current extern_id handling, which uses a parameter: IF Param('auth_env_id') As such, it is mutually exclusive with the patch to bug 423612. I'd propose to change the patch to use IF user.authorizer.extern_id_used or IF user.authorizer.extern_id_used or Param('auth_env_id') This would allow us, to declare this bug as a dependending on bug 423612 and pull both in at one go.
Depends on: 423612
Attachment #405625 - Flags: review?(mkanat) → review+
Comment on attachment 405625 [details] [diff] [review] Adds user search by external id >+[% IF Param('auth_env_id') %] >+ [% columns.push({name => 'extern_id' >+ heading => 'External id' I think our new standard terminology for this is External Login ID. >Index: template/en/default/admin/users/search.html.tmpl >+ [% IF Param('auth_env_id') %] >+ <option value="extern_id">external id</option> Needs to be fixed here, too. That can all be done on checkin, though.
Flags: approval+
Target Milestone: --- → Bugzilla 3.6
Comment on attachment 405625 [details] [diff] [review] Adds user search by external id Oh, actually, when I went to go check this in, I noticed a problem--it assumes that extern_id is only used when Param('auth_env_id') is enabled, which isn't true--LDAP uses extern_id too, any any login method can use extern_id. mockodin has a patch that accounts for that, so perhaps we should wait for that first.
Attachment #405625 - Flags: review+ → review-
Flags: approval+
Target Milestone: Bugzilla 3.6 → Bugzilla 3.8
Target Milestone: Bugzilla 4.0 → Bugzilla 4.2
Target Milestone: Bugzilla 4.2 → Bugzilla 5.0
We are going to branch for Bugzilla 4.4 next week and this bug is either too invasive to be accepted for 4.4 at this point or shows no recent activity. The target milestone is reset and will be set again *only* when a patch is attached and approved. I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else.
Target Milestone: Bugzilla 4.4 → ---
Turns out I needed this and the effort seems notably smaller since the last update.
Assignee: timello → altlist
Attachment #405625 - Attachment is obsolete: true
Attachment #8818370 - Flags: review?(dkl)
Attachment #8818370 - Attachment is patch: true
Attachment #8818370 - Attachment mime type: text/x-patch → text/plain
Comment on attachment 8818370 [details] [diff] [review] bug-84313-search-extern-user Review of attachment 8818370 [details] [diff] [review]: ----------------------------------------------------------------- r=dkl ::: template/en/default/admin/users/search.html.tmpl~ @@ +32,4 @@ > <option value="login_name">login name</option> > <option value="realname">real name</option> > <option value="userid">user id</option> > + <option value="extern_id">extern id</option> <option value="extern_id">external id</option> Will fix on commit.
Attachment #8818370 - Flags: review?(dkl) → review+
To https://github.com/bugzilla/bugzilla.git 3fb30ab..1a0c543 master -> master
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: relnote?
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 6.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: