From d132cad03c2d71a447aedeb547cd5d4e19d426fe Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" Date: Mon, 4 Dec 2006 07:08:00 +0000 Subject: [PATCH] Bug 346660 - [p=justdave r=myk] git-svn-id: svn://10.0.0.236/trunk@216405 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/despot/despot.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/webtools/despot/despot.cgi b/mozilla/webtools/despot/despot.cgi index 37306c2248f..e3eb66e7d80 100755 --- a/mozilla/webtools/despot/despot.cgi +++ b/mozilla/webtools/despot/despot.cgi @@ -1257,7 +1257,9 @@ sub EmailToId { my $EnableDeleteUser = 1; for ( defined $F::command ? $F::command : 'MainMenu') { - /^FindPartition$/ || do { Authenticate(); }; + # Only allow anonymous users access to the view parameter + # of FindPartition() (bug 346660) + (/^FindPartition$/ && param("view")) || do { Authenticate(); }; param("command", ""); /^AddPartition$/ && do { AddPartition(); last; }; /^AddUser$/ && do { AddUser(); last; };