Skip to content

Commit f2c52df

Browse files
committed
Bug 1169783: 'Edit' option shown on user context menus even if I don't have permission to edit users
1 parent 495e38b commit f2c52df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/BugModal/template/en/default/bug_modal/user.html.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ END;
4343
<a class="email [%= "disabled" UNLESS u.is_enabled %]"
4444
[% IF user.id %]
4545
href="mailto:[% u.email FILTER html %]"
46-
onclick="return show_usermenu([% u.id FILTER none %], '[% u.email FILTER js %]', true,
46+
onclick="return show_usermenu([% u.id FILTER none %], '[% u.email FILTER js %]',
4747
[% user.in_group('editusers') || user.bless_groups.size > 0 ? "true" : "false" %])"
4848
title="[% u.identity FILTER html %]"
4949
[% ELSE %]

0 commit comments

Comments
 (0)