Index: class.acl.inc.php =================================================================== RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.acl.inc.php,v retrieving revision 1.65.4.6 diff -r1.65.4.6 class.acl.inc.php 337a338 > @param $checkgroups optional defaults to no 340c341 < function get_specific_rights($location, $appname = False) --- > function get_specific_rights($location, $appname = False, $checkgroups = False) 354c355,368 < --- > > $account_list[0] = $this->account_id; > if( !$checkgroups ) > { > $userGroups = $GLOBALS['phpgw']->accounts->membership($this->account_id); > $userGroups = $userGroups ? $userGroups : array(); > //print_r($userGroups); > while (list($null,$ad_account) = each($userGroups)) > { > $i++; > $account_list[$i]=$ad_account['account_id']; > } > } > 361c375,376 < $this->data[$idx]['account'] == $this->account_id) --- > //$this->data[$idx]['account'] == $this->account_id) > in_array($this->data[$idx]['account'], $account_list)) 524c539 < --- > 566c581 < function get_location_list_for_id($app, $required, $accountid = '') --- > function get_location_list_for_id($app = False, $required, $accountid = '') 567a583,588 > if ($app == False) > { > settype($app,'string'); > $app = $GLOBALS['phpgw_info']['flags']['currentapp']; > } >