From 50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 8 Aug 2008 06:26:33 +0000 Subject: Bug 442031: Make Bugzilla::User::groups return an arrayref of Bugzilla::Group objects (instead of a hashref of group ids and names). --- template/en/default/account/prefs/permissions.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'template/en/default/account/prefs/permissions.html.tmpl') 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') %]
You have editusers privileges. You can turn on and off all permissions for all users. @@ -83,7 +83,7 @@ [% END %] - [% IF user.groups.bz_sudoers %] + [% IF user.in_group('bz_sudoers') %]
You are a member of the bz_sudoers group, so you can impersonate someone else. -- cgit v1.2.3-24-g4f1b