[Fusionforge-commits] r15766 - branches/Branch_5_1/src/www/admin

Thorsten Glaser mirabilos at fusionforge.org
Wed Jun 13 17:04:36 CEST 2012


Author: mirabilos
Date: 2012-06-13 17:04:36 +0200 (Wed, 13 Jun 2012)
New Revision: 15766

Modified:
   branches/Branch_5_1/src/www/admin/pluginman.php
Log:
replay commit 11594 by aljeux: Check forge_admin rights in pluginman code

Modified: branches/Branch_5_1/src/www/admin/pluginman.php
===================================================================
--- branches/Branch_5_1/src/www/admin/pluginman.php	2012-06-13 14:47:53 UTC (rev 15765)
+++ branches/Branch_5_1/src/www/admin/pluginman.php	2012-06-13 15:04:36 UTC (rev 15766)
@@ -4,7 +4,7 @@
  *
  * Copyright 2005 GForge, LLC
  * Copyright 2010 FusionForge Team
- * Copyright (C) 2011 Alain Peyrat - Alcatel-Lucent
+ * Copyright (C) 2011, 2012 Alain Peyrat - Alcatel-Lucent
  * http://fusionforge.org/
  *
  * This file is part of FusionForge. FusionForge is free software;
@@ -27,6 +27,8 @@
 require_once $gfcommon.'include/pre.php';
 require_once $gfwww.'admin/admin_utils.php';
 
+session_require_global_perm('forge_admin');
+
 // Skip non compatible plugins.
 $plugins_disabled = array('webcalendar', 'scmccase');
 




More information about the Fusionforge-commits mailing list