[Fusionforge-commits] r9787 - trunk/gforge/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Fri May 21 09:45:13 CEST 2010


Author: lolando
Date: 2010-05-21 09:45:13 +0200 (Fri, 21 May 2010)
New Revision: 9787

Modified:
   trunk/gforge/common/include/RBACEngine.class.php
Log:
Renamed convenience functions

Modified: trunk/gforge/common/include/RBACEngine.class.php
===================================================================
--- trunk/gforge/common/include/RBACEngine.class.php	2010-05-21 07:45:03 UTC (rev 9786)
+++ trunk/gforge/common/include/RBACEngine.class.php	2010-05-21 07:45:13 UTC (rev 9787)
@@ -69,15 +69,14 @@
 	}
 }
 
-function forge_action_allowed ($section, $reference, $action = NULL) {
+function forge_check_perm ($section, $reference, $action = NULL) {
 	$engine = RBACEngine::getInstance() ;
 
 	return $engine->isActionAllowed($section, $reference, $action) ;
 }
 
-function forge_global_action_allowed ($section, $action = NULL) {
+function forge_check_global_perm ($section, $action = NULL) {
 	$engine = RBACEngine::getInstance() ;
 
 	return $engine->isGlobalActionAllowed($section, $action) ;
 }
-




More information about the Fusionforge-commits mailing list