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)
Bugzilla
User Accounts
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: timello, Assigned: altlist)
References
Details
Attachments
(1 file, 1 obsolete file)
|
949 bytes,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
It would be nice if we can search for users by external id.
| Reporter | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
| Reporter | ||
Comment 1•16 years ago
|
||
Attachment #405625 -
Flags: review?(mkanat)
| Reporter | ||
Updated•16 years ago
|
Severity: normal → enhancement
Comment 2•16 years ago
|
||
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.
Updated•16 years ago
|
Attachment #405625 -
Flags: review?(mkanat) → review+
Comment 3•16 years ago
|
||
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.
Updated•16 years ago
|
Flags: approval+
Target Milestone: --- → Bugzilla 3.6
Comment 4•16 years ago
|
||
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-
Updated•16 years ago
|
Flags: approval+
Updated•15 years ago
|
Target Milestone: Bugzilla 3.6 → Bugzilla 3.8
Updated•15 years ago
|
Target Milestone: Bugzilla 4.0 → Bugzilla 4.2
Updated•14 years ago
|
Target Milestone: Bugzilla 4.2 → Bugzilla 5.0
Comment 5•13 years ago
|
||
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 → ---
| Assignee | ||
Comment 6•9 years ago
|
||
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)
Updated•9 years ago
|
Attachment #8818370 -
Attachment is patch: true
Attachment #8818370 -
Attachment mime type: text/x-patch → text/plain
Comment 7•9 years ago
|
||
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+
Comment 8•9 years ago
|
||
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.
Description
•