summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/users
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2005-10-14 08:58:24 +0200
committerbugreport%peshkin.net <>2005-10-14 08:58:24 +0200
commita23da324a647296a31436631b958bc3443ceaaf2 (patch)
treefe960b4a3e6d8da50b3b6a0db5407cdefa461029 /template/en/default/admin/users
parent4587cba89586ff3e00ed863748857ecf56a41532 (diff)
downloadbugzilla-a23da324a647296a31436631b958bc3443ceaaf2.tar.gz
bugzilla-a23da324a647296a31436631b958bc3443ceaaf2.tar.xz
Bug 204498 Add su (setuser) function
Patch by A. Karl Kornel <karl@kornel.name> r=joel, a=justdave
Diffstat (limited to 'template/en/default/admin/users')
-rw-r--r--template/en/default/admin/users/userdata.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index 43ee627f1..ab2e9de62 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -29,7 +29,9 @@
id="login" value="[% otheruser.login FILTER html %]" />
[% IF editform %]
<input type="hidden" name="loginold"
- value="[% otheruser.login FILTER html %]" />
+ value="[% otheruser.login FILTER html %]" /><br />
+ <a href="relogin.cgi?action=sudo&target_login=
+ [%- otheruser.login FILTER html %]">Impersonate this user</a>
[% END %]
[% ELSE %]
[% otheruser.login FILTER html %]