diff options
author | David Lawrence <dkl@mozilla.com> | 2015-05-29 23:28:39 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-05-29 23:28:39 +0200 |
commit | f2c52dff2711d6b61d7879f5f9384390873f52cc (patch) | |
tree | 465247c17451b63da1cf776dfc56258667d5b6f6 /extensions/BugModal/template | |
parent | 495e38b39a34ed5adf9c72dcfbadbd51d4e66fee (diff) | |
download | bugzilla-f2c52dff2711d6b61d7879f5f9384390873f52cc.tar.gz bugzilla-f2c52dff2711d6b61d7879f5f9384390873f52cc.tar.xz |
Bug 1169783: 'Edit' option shown on user context menus even if I don't have permission to edit users
Diffstat (limited to 'extensions/BugModal/template')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/user.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl index 4f312e654..062276614 100644 --- a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl @@ -43,7 +43,7 @@ END; <a class="email [%= "disabled" UNLESS u.is_enabled %]" [% IF user.id %] href="mailto:[% u.email FILTER html %]" - onclick="return show_usermenu([% u.id FILTER none %], '[% u.email FILTER js %]', true, + onclick="return show_usermenu([% u.id FILTER none %], '[% u.email FILTER js %]', [% user.in_group('editusers') || user.bless_groups.size > 0 ? "true" : "false" %])" title="[% u.identity FILTER html %]" [% ELSE %] |