[Fusionforge-commits] FusionForge branch 6.0 updated. v6.0.1-25-g6ead7e3

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Jun 28 15:07:32 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  6ead7e31f4f9f440eb8328ea29ebaf01b4753360 (commit)
      from  41a4e05464966878efa5e41b1d132d827d38e642 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=6ead7e31f4f9f440eb8328ea29ebaf01b4753360

commit 6ead7e31f4f9f440eb8328ea29ebaf01b4753360
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Jun 28 15:06:48 2015 +0200

    complete fix [#782]: add missing section

diff --git a/src/common/include/RBAC.php b/src/common/include/RBAC.php
index f3110f7..45675d9 100644
--- a/src/common/include/RBAC.php
+++ b/src/common/include/RBAC.php
@@ -256,7 +256,7 @@ abstract class BaseRole extends Error {
 				return false;
 			}
 		}
-		
+
 		$hook_params = array();
 		$hook_params['role'] =& $this;
 		$hook_params['project'] =& $project;
@@ -924,7 +924,7 @@ abstract class BaseRole extends Error {
 		db_begin () ;
 
 		// Remove obsolete project-wide settings
-		$sections = array ('project_read', 'project_admin', 'new_frs', 'scm', 'docman', 'tracker_admin', 'new_tracker', 'forum_admin', 'new_forum', 'pm_admin', 'new_pm') ;
+		$sections = array ('project_read', 'project_admin', 'frs_admin', 'new_frs', 'scm', 'docman', 'tracker_admin', 'new_tracker', 'forum_admin', 'new_forum', 'pm_admin', 'new_pm');
 		db_query_params ('DELETE FROM pfo_role_setting where role_id=$1 AND section_name=ANY($2) and ref_id NOT IN (SELECT home_group_id FROM pfo_role WHERE role_id=$1 AND home_group_id IS NOT NULL UNION SELECT group_id from role_project_refs WHERE role_id=$1)',
 				 array ($this->getID(),
 					db_string_array_to_any_clause($sections))) ;

-----------------------------------------------------------------------

Summary of changes:
 src/common/include/RBAC.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list