[Fusionforge-commits] FusionForge branch master updated. 4419cc4777bf830268871b7b78728d8df7b47b80
Franck Villaume
nerville at fusionforge.org
Fri Aug 1 10:20:15 CEST 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, master has been updated
via 4419cc4777bf830268871b7b78728d8df7b47b80 (commit)
from 64a9e8e1b9066728c8ad9db339b06761165c400f (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 4419cc4777bf830268871b7b78728d8df7b47b80
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Fri Aug 1 10:18:49 2014 +0200
FRS: fix permission check when no packages available
diff --git a/src/common/frs/FRSPackageFactory.class.php b/src/common/frs/FRSPackageFactory.class.php
index af25df1..b6d0207 100644
--- a/src/common/frs/FRSPackageFactory.class.php
+++ b/src/common/frs/FRSPackageFactory.class.php
@@ -132,6 +132,9 @@ class FRSPackageFactory extends Error {
$admin = true;
}
}
+ if (forge_check_perm('frs_admin', $this->Group->getID(), 'admin')) {
+ $admin = true;
+ }
if ($admin) {
return 'admin';
} elseif ($release) {
-----------------------------------------------------------------------
Summary of changes:
src/common/frs/FRSPackageFactory.class.php | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list