[evolvis-commits] r15203: How about loading the settings for the Anonymous and LoggedIn roles too? Might be useful.
mirabilos at evolvis.org
mirabilos at evolvis.org
Mon Feb 28 23:49:14 CET 2011
Author: mirabilos
Date: 2011-02-28 23:49:14 +0100 (Mon, 28 Feb 2011)
New Revision: 15203
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/common/include/RBAC.php
Log:
How about loading the settings for the Anonymous and LoggedIn roles too? Might be useful.
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/include/RBAC.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/include/RBAC.php 2011-02-28 22:49:11 UTC (rev 15202)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/include/RBAC.php 2011-02-28 22:49:14 UTC (rev 15203)
@@ -710,6 +710,7 @@
throw new Exception ("No PFO_RoleAnonymous role in the database") ;
}
self::$_instance->_role_id = db_result ($res, 0, 'role_id') ;
+ self::$_instance->fetchData (self::$_instance->_role_id) ;
return self::$_instance ;
}
@@ -752,6 +753,7 @@
throw new Exception ("No PFO_RoleLoggedIn role in the database") ;
}
self::$_instance->_role_id = db_result ($res, 0, 'role_id') ;
+ self::$_instance->fetchData (self::$_instance->_role_id) ;
return self::$_instance ;
}
More information about the evolvis-commits
mailing list