summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-08-08 08:26:33 +0200
committermkanat%bugzilla.org <>2008-08-08 08:26:33 +0200
commit50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 (patch)
tree424d04a868fb5fdffbfa2dd65cc8903ece84895f /template/en/default/account
parentaca14df0a0daca1f2eb637d400285e3f14add35e (diff)
downloadbugzilla-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.gz
bugzilla-50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1.tar.xz
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/account')
-rw-r--r--template/en/default/account/prefs/permissions.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/account/prefs/permissions.html.tmpl b/template/en/default/account/prefs/permissions.html.tmpl
index 4a097e2f2..5e8dc9ca2 100644
--- a/template/en/default/account/prefs/permissions.html.tmpl
+++ b/template/en/default/account/prefs/permissions.html.tmpl
@@ -65,7 +65,7 @@
There are no permission bits set on your account.
[% END %]
- [% IF user.groups.editusers %]
+ [% IF user.in_group('editusers') %]
<br>
You have editusers privileges. You can turn on and off
all permissions for all users.
@@ -83,7 +83,7 @@
</table>
[% END %]
- [% IF user.groups.bz_sudoers %]
+ [% IF user.in_group('bz_sudoers') %]
<br>
You are a member of the <b>bz_sudoers</b> group, so you can
<a href="relogin.cgi?action=prepare-sudo">impersonate someone else</a>.