Ignore:
Timestamp:
10/28/09 10:05:59 (15 years ago)
Author:
amuller
Message:

Ticket #597 - Melhorias no filemanager com correção de bugs

File:
1 edited

Legend:

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

    r1534 r1535  
    873873                                $acl_operation = PHPGW_ACL_ADD; 
    874874                        } 
    875  
     875                        // In your dir you can do anything you want 
     876                        $path = explode('/',$p->fake_full_path); 
    876877                        if (!$this->acl_check (array( 
    877                                         'string'        => $p->fake_full_path, 
     878                                        'string'        => '/'.$path[1].'/'.$path[2], 
    878879                                        'relatives'     => array ($p->mask), 
    879880                                        'operation'     => $acl_operation 
     
    13641365                                ) 
    13651366                        ); 
    1366  
     1367                        // In your dir you can do anything you want 
     1368                        $path = explode('/',$t->fake_full_path); 
    13671369                        if (!$this->acl_check (array( 
    1368                                         'string'        => $f->fake_full_path, 
     1370                                        'string'        => '/'.$path[1].'/'.$path[2], 
    13691371                                        'relatives'     => array ($f->mask), 
    13701372                                        'operation'     => PHPGW_ACL_READ 
    13711373                                )) 
    13721374                                || !$this->acl_check (array( 
    1373                                         'string'        => $f->fake_full_path, 
     1375                                        'string'        => '/'.$path[1].'/'.$path[2], 
    13741376                                        'relatives'     => array ($f->mask), 
    13751377                                        'operation'     => PHPGW_ACL_DELETE 
     
    13811383 
    13821384                        if (!$this->acl_check (array( 
    1383                                         'string'        => $t->fake_full_path, 
     1385                                        'string'        => '/'.$path[1].'/'.$path[2], 
    13841386                                        'relatives'     => array ($t->mask), 
    13851387                                        'operation'     => PHPGW_ACL_ADD 
     
    13971399                        { 
    13981400                                if (!$this->acl_check (array( 
    1399                                                 'string'        => $t->fake_full_path, 
     1401                                                'string'        => '/'.$path[1].'/'.$path[2], 
    14001402                                                'relatives'     => array ($t->mask), 
    14011403                                                'operation'     => PHPGW_ACL_EDIT 
Note: See TracChangeset for help on using the changeset viewer.