[Fusionforge-commits] r15500 - branches/Branch_5_2/src/common/include

Franck VILLAUME nerville at fusionforge.org
Tue May 8 11:17:28 CEST 2012


Author: nerville
Date: 2012-05-08 11:17:27 +0200 (Tue, 08 May 2012)
New Revision: 15500

Modified:
   branches/Branch_5_2/src/common/include/SCMPlugin.class.php
Log:
fix #416: missing permission check

Modified: branches/Branch_5_2/src/common/include/SCMPlugin.class.php
===================================================================
--- branches/Branch_5_2/src/common/include/SCMPlugin.class.php	2012-05-08 07:46:18 UTC (rev 15499)
+++ branches/Branch_5_2/src/common/include/SCMPlugin.class.php	2012-05-08 09:17:27 UTC (rev 15500)
@@ -197,6 +197,7 @@
 
 		if ($project->usesPlugin($this->name)) {
 
+			session_require_perm('scm', $project->getID(), 'read');
 			// Table for summary info
 			print '<table class="fullwidth"><tr valign="top"><td style="width:65%">'."\n";
 			print $this->getBlurb()."\n";




More information about the Fusionforge-commits mailing list