Revision: 1362
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1362&view=rev
Author:   cimorrison
Date:     2010-06-29 21:42:37 +0000 (Tue, 29 Jun 2010)

Log Message:
-----------
Fixed bug which caused area private_override settings to be ignored in reports. 
  (The default global private_override setting from the config file was being 
used to determine whether a user was allowed access to the report page.  This 
is unnecessary as individual area settings are used by the SQL query to 
determine whether bookings should be shown in report results).

Modified Paths:
--------------
    mrbs/trunk/web/report.php

Modified: mrbs/trunk/web/report.php
===================================================================
--- mrbs/trunk/web/report.php   2010-06-29 21:08:39 UTC (rev 1361)
+++ mrbs/trunk/web/report.php   2010-06-29 21:42:37 UTC (rev 1362)
@@ -557,15 +557,6 @@
 $display = get_form_var('display', 'string');
 $sumby = get_form_var('sumby', 'string');
 
-// Require authenticated user if private bookings are required
-if ($private_override == "private")
-{
-  if (!getAuthorised(1))
-  {
-    showAccessDenied($day, $month, $year, $area, "");
-    exit();
-  }
-}
 
 // Need to know user name and if they are an admin
 $user = getUserName();


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to