summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-07-06 10:12:29 +0200
committerbugreport%peshkin.net <>2004-07-06 10:12:29 +0200
commit73fd49ff3bbff6244802ba548bb22c2be39014e1 (patch)
treef7b78fde82e5557d604de9282d19c235dfc3dea1 /template/en/default
parent4ab7a75f97285207ceb8c4830406701b11819cbc (diff)
downloadbugzilla-73fd49ff3bbff6244802ba548bb22c2be39014e1.tar.gz
bugzilla-73fd49ff3bbff6244802ba548bb22c2be39014e1.tar.xz
Bug 243463 Use a param to protect new charts from leaking information
r=justdave a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/reports/menu.html.tmpl10
1 files changed, 6 insertions, 4 deletions
diff --git a/template/en/default/reports/menu.html.tmpl b/template/en/default/reports/menu.html.tmpl
index 7481790fd..5ac1516d5 100644
--- a/template/en/default/reports/menu.html.tmpl
+++ b/template/en/default/reports/menu.html.tmpl
@@ -64,10 +64,12 @@
plot the status and/or resolution of [% terms.bugs %] against
time, for each product in your database.
</li>
- <li>
- <strong><a href="chart.cgi">New Charts</a></strong> -
- plot any arbitrary search against time. Far more powerful.
- </li>
+ [% IF UserInGroup(Param("chartgroup")) %]
+ <li>
+ <strong><a href="chart.cgi">New Charts</a></strong> -
+ plot any arbitrary search against time. Far more powerful.
+ </li>
+ [% END %]
</ul>
[% PROCESS global/footer.html.tmpl %]