[Fusionforge-commits] FusionForge branch Branch_5_3 updated. bd6da099ca8f9b7239bc96a19aab65d55b06ee7d

Franck VILLAUME nerville at fusionforge.org
Mon Feb 17 15:35:26 CET 2014


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, Branch_5_3 has been updated
       via  bd6da099ca8f9b7239bc96a19aab65d55b06ee7d (commit)
      from  683fc093ac119b4ff396ad71ad4694df5ab15bb8 (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 -----------------------------------------------------------------
commit bd6da099ca8f9b7239bc96a19aab65d55b06ee7d
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Feb 17 15:35:07 2014 +0100

    rbac: fix previous commit

diff --git a/src/common/include/RBACEngine.class.php b/src/common/include/RBACEngine.class.php
index f07d2ed..e814d40 100644
--- a/src/common/include/RBACEngine.class.php
+++ b/src/common/include/RBACEngine.class.php
@@ -366,6 +366,10 @@ class RBACEngine extends Error implements PFO_RBACEngine {
 			case 'submit':
 				$qpa = db_construct_qpa ($qpa, 'AND (perm_val & 8) = 8');
 				break;
+			case 'vote':
+				$qpa = db_construct_qpa ($qpa, 'AND (perm_val & 16) = 16');
+				break;
+			}
 			break;
 		case 'pm':
 			switch ($action) {

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

Summary of changes:
 src/common/include/RBACEngine.class.php |    4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list