diff options
author | bugreport%peshkin.net <> | 2005-10-14 08:58:24 +0200 |
---|---|---|
committer | bugreport%peshkin.net <> | 2005-10-14 08:58:24 +0200 |
commit | a23da324a647296a31436631b958bc3443ceaaf2 (patch) | |
tree | fe960b4a3e6d8da50b3b6a0db5407cdefa461029 /template/en/default/global/useful-links.html.tmpl | |
parent | 4587cba89586ff3e00ed863748857ecf56a41532 (diff) | |
download | bugzilla-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/global/useful-links.html.tmpl')
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 2ac89f91c..ef7f3d19f 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -62,7 +62,13 @@ [% ELSE %] | Logged in as [% END %] - [% user.login FILTER html %] + [% IF sudoer %] + [% sudoer.login FILTER html %] (<b>impersonating + [% user.login FILTER html %]</b> + <a href="relogin.cgi?action=end-sudo">end session</a>) + [% ELSE %] + [% user.login FILTER html %] + [% END %] [% ELSE %] [% IF Param('createemailregexp') %] | <a href="createaccount.cgi">New Account</a> |