cvs: pear /LiveUser_Admin/Perm/Storage SQL.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Wed, 08 Dec 2004 01:29:30 +0000 |
| Subject: | cvs: pear /LiveUser_Admin/Perm/Storage SQL.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-27064@lists.php.net to get a copy of this message | ||
dufuz Tue Dec 7 20:29:30 2004 EDT
Modified files:
/pear/LiveUser_Admin/Perm/Storage SQL.php
Log:
rights_implied table added
http://cvs.php.net/diff.php/pear/LiveUser_Admin/Perm/Storage/SQL.php?r1=1.19&r2=1.20&ty=u
Index: pear/LiveUser_Admin/Perm/Storage/SQL.php
diff -u pear/LiveUser_Admin/Perm/Storage/SQL.php:1.19 pear/LiveUser_Admin/Perm/Storage/SQL.php:1.20
--- pear/LiveUser_Admin/Perm/Storage/SQL.php:1.19 Mon Dec 6 14:04:59 2004
+++ pear/LiveUser_Admin/Perm/Storage/SQL.php Tue Dec 7 20:29:30 2004
@@ -43,7 +43,7 @@
*
* @author Lukas Smith <smith@backendmedia.com>
* @author Bjoern Kraus <krausbn@php.net>
- * @version $Id: SQL.php,v 1.19 2004/12/06 19:04:59 lsmith Exp $
+ * @version $Id: SQL.php,v 1.20 2004/12/08 01:29:30 dufuz Exp $
* @package LiveUser
* @category authentication
*/
@@ -107,12 +107,28 @@
'areas' => 'area_id',
'userrights' => 'right_id',
'grouprights' => 'right_id',
+ 'rights_implied' => array(
+ 'right_id' => 'right_id',
+ 'right_id' => 'implied_right_id',
+ ),
'translations' => array(
'right_id' => 'section_id',
LIVEUSER_SECTION_RIGHT => 'section_type',
),
),
),
+ 'rights_implied' => array(
+ 'fields' => array(
+ 'right_id',
+ 'implied_right_id',
+ ),
+ 'joins' => array(
+ 'rights' => array(
+ 'right_id' => 'right_id',
+ 'implied_right_id' => 'right_id',
+ ),
+ ),
+ ),
'translations' => array(
'fields' => array(
'section_id',