summaryrefslogtreecommitdiffstats
path: root/extensions/SecureMail/template/en/default/hook/admin
diff options
context:
space:
mode:
authordklawren <dklawren@users.noreply.github.com>2018-04-10 05:17:44 +0200
committerGitHub <noreply@github.com>2018-04-10 05:17:44 +0200
commit58c4f6814461ee4e35f0cffbdd63d948df940d35 (patch)
tree012231025cb598c791ba9ddfa6009ac584b668ec /extensions/SecureMail/template/en/default/hook/admin
parent694df9c1c6ec244c416c2d8e85657651b6a28dab (diff)
downloadbugzilla-58c4f6814461ee4e35f0cffbdd63d948df940d35.tar.gz
bugzilla-58c4f6814461ee4e35f0cffbdd63d948df940d35.tar.xz
Bug 1328900 - Create new group called 'disableusers' that can only edit the bugmail and disabledtext fields of a user
Diffstat (limited to 'extensions/SecureMail/template/en/default/hook/admin')
-rw-r--r--extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl b/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl
index a90266dae..e5e299ef9 100644
--- a/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl
+++ b/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl
@@ -6,7 +6,7 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
-[% RETURN UNLESS otheruser.id %]
+[% RETURN UNLESS otheruser.id && user.in_group('editusers') %]
<tr>
<th>Has Secure Mail Key/Cert:</th>
@@ -14,7 +14,7 @@
[% otheruser.public_key ? "Yes" : "No" %]
</td>
</tr>
-
+
<tr>
<th>Member of Secure Mail Group:</th>
<td>