diff options
| author | mkanat%bugzilla.org <> | 2008-08-08 06:26:33 +0000 |
|---|---|---|
| committer | mkanat%bugzilla.org <> | 2008-08-08 06:26:33 +0000 |
| commit | 50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 (patch) | |
| tree | 424d04a868fb5fdffbfa2dd65cc8903ece84895f /template/en/default/pages | |
| parent | aca14df0a0daca1f2eb637d400285e3f14add35e (diff) | |
| download | bugs-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar bugs-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.gz bugs-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.bz2 bugs-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.xz bugs-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.zip | |
Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names).
Diffstat (limited to 'template/en/default/pages')
| -rw-r--r-- | template/en/default/pages/sudo.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/pages/sudo.html.tmpl b/template/en/default/pages/sudo.html.tmpl index dff2d7d87..c790ff1ab 100644 --- a/template/en/default/pages/sudo.html.tmpl +++ b/template/en/default/pages/sudo.html.tmpl @@ -51,14 +51,14 @@ doing the impersonating has the appropriate privileges. </p> <p id="message"> - [% IF user.groups.bz_sudoers %] + [% IF user.in_group('bz_sudoers') %] You are a member of the <b>bz_sudoers</b> group. You may use this feature to impersonate others. [% ELSE %] You are not a member of an appropriate group. You may not use this feature. [% END %] - [% IF user.groups.bz_sudo_protect %] + [% IF user.in_group('bz_sudo_protect') %] <br> You are a member of the <b>bz_sudo_protect</b> group. Other people will not be able to use this feature to impersonate you. |
