Author: danydb
Date: 2012-06-21 18:34:41 +0200 (Thu, 21 Jun 2012)
New Revision: 4968
Modified:
phpcompta/trunk/include/class_user.php
Log:
User::get_ledger : can access a ledger in R if user has the W right
Modified: phpcompta/trunk/include/class_user.php
===================================================================
--- phpcompta/trunk/include/class_user.php 2012-06-21 16:32:28 UTC (rev
4967)
+++ phpcompta/trunk/include/class_user.php 2012-06-21 16:34:41 UTC (rev
4968)
@@ -296,7 +296,7 @@
break;
case 1:
- $sql_access = " and uj_priv = 'R'";
+ $sql_access = " and ( uj_priv = 'R' or
uj_priv='W') ";
break;
}
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev