[thirdparty-commits] jpeeler: mantis/trunk r132 - /mantis/trunk/
    SVN commits to the Digium third-party software repository 
    thirdparty-commits at lists.digium.com
       
    Fri Oct  2 16:18:50 CDT 2009
    
    
  
Author: jpeeler
Date: Fri Oct  2 16:18:46 2009
New Revision: 132
URL: http://svnview.digium.com/svn/thirdparty?view=rev&rev=132
Log:
change access permissions to access license information via CSV
Modified:
    mantis/trunk/license_csv.php
    mantis/trunk/license_pending.php
Modified: mantis/trunk/license_csv.php
URL: http://svnview.digium.com/svn/thirdparty/mantis/trunk/license_csv.php?view=diff&rev=132&r1=131&r2=132
==============================================================================
--- mantis/trunk/license_csv.php (original)
+++ mantis/trunk/license_csv.php Fri Oct  2 16:18:46 2009
@@ -6,6 +6,6 @@
 	require_once( $t_core_path . 'license_api.php' );
 	require_once( $t_core_path . 'current_user_api.php' );
 
-	access_ensure_global_level( config_get( 'manage_pending_threshold' ) );
+	access_ensure_global_level( ADMINISTRATOR );
 	get_all_licenses_by_csv();
 ?>
Modified: mantis/trunk/license_pending.php
URL: http://svnview.digium.com/svn/thirdparty/mantis/trunk/license_pending.php?view=diff&rev=132&r1=131&r2=132
==============================================================================
--- mantis/trunk/license_pending.php (original)
+++ mantis/trunk/license_pending.php Fri Oct  2 16:18:46 2009
@@ -44,7 +44,7 @@
 	require_once( $t_core_path . "current_user_api.php" );
 	require_once( $t_core_path . "license_api.php" );
 
-	access_ensure_global_level( config_get( 'view_pending_threshold' ) );
+	access_ensure_global_level( ADMINISTRATOR );
 
 	$t_manage = access_has_global_level( config_get( 'manage_pending_threshold' ) );
 
    
    
More information about the thirdparty-commits
mailing list