summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-06-20 20:46:12 +0200
committerlpsolit%gmail.com <>2007-06-20 20:46:12 +0200
commit275a10ab18b0e6c713a74ac37532022ff5ecd2ff (patch)
tree6bef73ef79f63fb30d96a608edeef88c08c88ad1 /template/en/default
parent9de3481eb1733f20b1ceac522fcc94ea0d4f27c2 (diff)
downloadbugzilla-275a10ab18b0e6c713a74ac37532022ff5ecd2ff.tar.gz
bugzilla-275a10ab18b0e6c713a74ac37532022ff5ecd2ff.tar.xz
Bug 370921: reporter_accessible and cclist_accessible checkboxes in show_bug.cgi appear editable by users with no privs - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/bug/edit.html.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index fe3adbbe9..db2915d99 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -518,11 +518,13 @@
<p>
<input type="checkbox" value="1"
name="reporter_accessible" id="reporter_accessible"
- [% " checked" IF bug.reporter_accessible %]>
+ [% " checked" IF bug.reporter_accessible %]
+ [% " disabled=\"disabled\"" UNLESS bug.check_can_change_field("reporter_accessible", 0, 1) %]>
<label for="reporter_accessible">Reporter</label>
<input type="checkbox" value="1"
name="cclist_accessible" id="cclist_accessible"
- [% " checked" IF bug.cclist_accessible %]>
+ [% " checked" IF bug.cclist_accessible %]
+ [% " disabled=\"disabled\"" UNLESS bug.check_can_change_field("cclist_accessible", 0, 1) %]>
<label for="cclist_accessible">CC List</label>
</p>
[% END %]