[Fusionforge-commits] FusionForge branch 6.0 updated. d96952162bf9be5c4ef0953fd7b4796a5f2e2b75
Roland Mas
lolando at fusionforge.org
Wed Apr 8 15:14:57 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 d96952162bf9be5c4ef0953fd7b4796a5f2e2b75 (commit)
from 3d64da2a99bfa0a70934b2cb8bc22834c42b2c64 (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 d96952162bf9be5c4ef0953fd7b4796a5f2e2b75
Author: Roland Mas <lolando at debian.org>
Date: Wed Apr 8 15:14:44 2015 +0200
Tracker administrators are not necessarily techs
diff --git a/src/common/include/RBAC.php b/src/common/include/RBAC.php
index eaf2c73..4ee2096 100644
--- a/src/common/include/RBAC.php
+++ b/src/common/include/RBAC.php
@@ -572,7 +572,7 @@ abstract class BaseRole extends Error {
case 'tracker':
if ($this->hasPermission('tracker_admin', artifacttype_get_groupid($reference))) {
- return 31 | $value ;
+ return 29 | $value ;
} elseif (!$this->hasPermission('project_read', artifacttype_get_groupid($reference))) {
return 0;
}
@@ -580,7 +580,7 @@ abstract class BaseRole extends Error {
break ;
case 'new_tracker':
if ($this->hasPermission('tracker_admin', $reference)) {
- return 31 | $value ;
+ return 29 | $value ;
} elseif (!$this->hasPermission('project_read', $reference)) {
return 0;
}
-----------------------------------------------------------------------
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