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

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Jun 8 21:34:52 CEST 2010


Author: lolando
Date: 2010-06-08 21:34:51 +0200 (Tue, 08 Jun 2010)
New Revision: 10008

Modified:
   trunk/gforge/common/include/RBAC.php
Log:
Bugfix in the on-the-fly translation from old to new permissions

Modified: trunk/gforge/common/include/RBAC.php
===================================================================
--- trunk/gforge/common/include/RBAC.php	2010-06-08 14:15:36 UTC (rev 10007)
+++ trunk/gforge/common/include/RBAC.php	2010-06-08 19:34:51 UTC (rev 10008)
@@ -407,7 +407,7 @@
 						$tohandle[] = array ('forge_admin', -1) ;
 					}
 					if ($this->data_array['group_id'] == forge_get_config ('news_group') && $t[0] == 'A') {
-						$tohandle[] = array ('forge_admin', -1) ;
+						$tohandle[] = array ('approve_news', -1) ;
 					}
 					if ($this->data_array['group_id'] == forge_get_config ('stats_group') && $t[0] == 'A') {
 						$tohandle[] = array ('forge_stats', -1) ;




More information about the Fusionforge-commits mailing list