Ignore:
Timestamp:
12/29/09 10:13:50 (14 years ago)
Author:
amuller
Message:

Ticket #597 - Melhoria do FM. melhorias na interface, Compartilhamento de grupos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.vfs_sql.inc.php

    r1855 r1904  
    645645                        if ($data['relatives'][0] == RELATIVE_NONE || $data['relatives'][0] == RELATIVE_ALL) 
    646646                        { 
    647                                 $path = explode('/',$data['string']); 
    648                                 $data['string'] = '/'.$path[1].'/'.$path[2]; 
    649                         } 
     647                                $path = explode(SEP,$data['string']); 
     648                                $data['string'] = SEP.$path[1].SEP.$path[2]; 
     649                        } 
     650                        if ($data['operation'] == PHPGW_ACL_READ){ 
     651                                $user_groups = $GLOBALS['phpgw']->accounts->membership(); 
     652                                foreach($user_groups as $val){ 
     653                                        if (strpos($data['string'],$this->fakebase.SEP.$GLOBALS['phpgw']->accounts->id2name($val['account_id'])) === 0) 
     654                                                return true; 
     655                                } 
     656                        } 
     657 
    650658 
    651659 
Note: See TracChangeset for help on using the changeset viewer.