phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] admin/inc class.uiaccounts.inc.php, 1.23.2.9.2.25, 1


From: Jonathan Rivera <address@hidden>
Subject: [Phpgroupware-cvs] admin/inc class.uiaccounts.inc.php, 1.23.2.9.2.25, 1.23.2.9.2.26
Date: Mon, 03 Nov 2003 20:32:48 +0000

Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv5457/admin/inc

Modified Files:
      Tag: Version-0_9_16-branch
        class.uiaccounts.inc.php 
Log Message:
This changes are for check the addressmaster acl permissions


Index: class.uiaccounts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.uiaccounts.inc.php,v
retrieving revision 1.23.2.9.2.25
retrieving revision 1.23.2.9.2.26
diff -C2 -d -r1.23.2.9.2.25 -r1.23.2.9.2.26
*** class.uiaccounts.inc.php    31 Oct 2003 01:23:27 -0000      1.23.2.9.2.25
--- class.uiaccounts.inc.php    3 Nov 2003 20:32:45 -0000       1.23.2.9.2.26
***************
*** 1134,1138 ****
                                $owner = 
$GLOBALS['phpgw_info']['server']['addressmaster'];
                                $grants = 
$GLOBALS['phpgw']->acl->get_grants('addressbook');
!                               if (!!($grants[$owner] & PHPGW_ACL_EDIT))
                                {
                                        if($userData['person_id'])
--- 1134,1138 ----
                                $owner = 
$GLOBALS['phpgw_info']['server']['addressmaster'];
                                $grants = 
$GLOBALS['phpgw']->acl->get_grants('addressbook');
!                               if (!!($grants[$owner] & PHPGW_ACL_EDIT) || 
$GLOBALS['phpgw']->acl->check('addressmaster', 7, 'addressbook'))
                                {
                                        if($userData['person_id'])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]