[Fusionforge-commits] r10605 - trunk/src/www/project/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Sep 21 19:52:32 CEST 2010


Author: aljeux
Date: 2010-09-21 19:52:31 +0200 (Tue, 21 Sep 2010)
New Revision: 10605

Modified:
   trunk/src/www/project/admin/roledelete.php
Log:
Use session_require_perm now

Modified: trunk/src/www/project/admin/roledelete.php
===================================================================
--- trunk/src/www/project/admin/roledelete.php	2010-09-21 17:37:36 UTC (rev 10604)
+++ trunk/src/www/project/admin/roledelete.php	2010-09-21 17:52:31 UTC (rev 10605)
@@ -32,7 +32,7 @@
 $group_id = getIntFromRequest('group_id');
 $role_id = getIntFromRequest('role_id');
 
-session_require(array('group'=>$group_id,'admin_flags'=>'A'));
+session_require_perm ('project_admin', $group_id) ;
 
 if (!$role_id) {
 	session_redirect('/project/admin/users.php?group_id='.$group_id);




More information about the Fusionforge-commits mailing list