Bug 346660 - [p=justdave r=myk]

git-svn-id: svn://10.0.0.236/trunk@216405 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
reed%reedloden.com
2006-12-04 07:08:00 +00:00
parent 7482a312b7
commit d132cad03c

View File

@@ -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; };