summaryrefslogtreecommitdiffstats
path: root/template/en/default/flag
diff options
context:
space:
mode:
authorHugo Seabrook <hugo.seabrook@gmail.com>2013-02-15 07:08:31 +0100
committerByron Jones <bjones@mozilla.com>2013-02-15 07:08:31 +0100
commit82bab122d14431f4bf3f1c31988434aec2386515 (patch)
tree41e42e583fb0438c3382079f634df65d52cb0cbd /template/en/default/flag
parent921e81caf7ffc083ac664459b015d38fc250437d (diff)
downloadbugzilla-82bab122d14431f4bf3f1c31988434aec2386515.tar.gz
bugzilla-82bab122d14431f4bf3f1c31988434aec2386515.tar.xz
Bug 830330: Make flags honour bug_check_can_change_field
r=dkl, a=LpSolit
Diffstat (limited to 'template/en/default/flag')
-rw-r--r--template/en/default/flag/list.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 88486c7f6..7a3f88fc5 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -6,7 +6,7 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
-[% IF user.id AND !read_only_flags %]
+[% IF user.id && !read_only_flags && bug.check_can_change_field('flagtypes.name', 0, 1) %]
[%# We list flags by looping twice over the flag types relevant for the bug.
# In the first loop, we display existing flags and then, for active types,