[Fusionforge-commits] r13634 - trunk/src/common/docman/views

Franck VILLAUME nerville at fusionforge.org
Wed Jun 29 13:38:20 CEST 2011


Author: nerville
Date: 2011-06-29 13:38:20 +0200 (Wed, 29 Jun 2011)
New Revision: 13634

Modified:
   trunk/src/common/docman/views/search.php
Log:
fix role

Modified: trunk/src/common/docman/views/search.php
===================================================================
--- trunk/src/common/docman/views/search.php	2011-06-29 11:35:06 UTC (rev 13633)
+++ trunk/src/common/docman/views/search.php	2011-06-29 11:38:20 UTC (rev 13634)
@@ -32,7 +32,7 @@
 /* NEED A REAL REWRITE */
 require_once $gfcommon.'docman/include/vtemplate.class.php';
 
-$is_editor = forge_check_perm('docman', $g->getID(), 'admin');
+$is_editor = forge_check_perm('docman', $g->getID(), 'approve');
 
 $vtp = new VTemplate;
 if (empty($gfcommon)) {




More information about the Fusionforge-commits mailing list