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  ff3a05ee120901e2dc1ff11cdc99e629d3838dd9 (commit)
       via  8794885078a9ac1de635a112eeb78d9285abf798 (commit)
      from  83c7648c427185bf88a664cddca476a3bb48f2da (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=ff3a05ee120901e2dc1ff11cdc99e629d3838dd9

commit ff3a05ee120901e2dc1ff11cdc99e629d3838dd9
Author: Franck Villaume <[email protected]>
Date:   Fri Jul 14 18:24:20 2017 +0200

    fix wrong permission setting. read_public vs. read

diff --git a/src/www/new/index.php b/src/www/new/index.php
index 441ff45..9b1313e 100644
--- a/src/www/new/index.php
+++ b/src/www/new/index.php
@@ -72,7 +72,7 @@ if (!$res_new || db_numrows($res_new) < 1) {
 
        $i = 0;
        while (($i < 20) && ($row_new = db_fetch_array($res_new))) {
-               if (forge_check_perm('frs', $row_new['group_id'], 
'read_public')) {
+               if (forge_check_perm('frs', $row_new['package_id'], 'read')) {
                        $i++;
                        $rows[] = $row_new;
                }

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=8794885078a9ac1de635a112eeb78d9285abf798

commit 8794885078a9ac1de635a112eeb78d9285abf798
Author: Franck Villaume <[email protected]>
Date:   Fri Jul 14 18:21:34 2017 +0200

    space

diff --git a/src/common/search/DocsSearchQuery.class.php 
b/src/common/search/DocsSearchQuery.class.php
index 40e7231..b8e4776 100644
--- a/src/common/search/DocsSearchQuery.class.php
+++ b/src/common/search/DocsSearchQuery.class.php
@@ -148,7 +148,7 @@ class DocsSearchQuery extends SearchQuery {
        }
 
        function isRowVisible($row) {
-               return forge_check_perm ('docman', $row['group_id'], 'read');
+               return forge_check_perm('docman', $row['group_id'], 'read');
        }
 }
 

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

Summary of changes:
 src/common/search/DocsSearchQuery.class.php | 2 +-
 src/www/new/index.php                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to