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 31452b5f7bf99f9d036c5af0a48c1a21465a4bec (commit)
from 3a6c4fcaa5b1434bb6ad95b75d917401cc3480e9 (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=31452b5f7bf99f9d036c5af0a48c1a21465a4bec
commit 31452b5f7bf99f9d036c5af0a48c1a21465a4bec
Author: Sylvain Beucler <[email protected]>
Date: Tue Jun 30 19:04:04 2015 +0200
FRS: actually there's no release-level RBAC, only package-level
diff --git a/src/common/frs/FRSPackage.class.php
b/src/common/frs/FRSPackage.class.php
index 791f777..7c1e7a3 100644
--- a/src/common/frs/FRSPackage.class.php
+++ b/src/common/frs/FRSPackage.class.php
@@ -483,7 +483,7 @@ class FRSPackage extends Error {
if ($include_hidden) {
$this->package_releases[] =
$this->newFRSRelease($arr['release_id'], $arr);
} else {
- if (forge_check_perm('frs',
$this->getID(), 'read')) {
+ if ($arr['status_id'] == 1) {
$this->package_releases[] =
$this->newFRSRelease($arr['release_id'], $arr);
}
}
-----------------------------------------------------------------------
Summary of changes:
src/common/frs/FRSPackage.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits