Changeset 1535 for trunk/phpgwapi/inc/class.vfs_sql.inc.php
- Timestamp:
- 10/28/09 10:05:59 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.vfs_sql.inc.php
r1534 r1535 873 873 $acl_operation = PHPGW_ACL_ADD; 874 874 } 875 875 // In your dir you can do anything you want 876 $path = explode('/',$p->fake_full_path); 876 877 if (!$this->acl_check (array( 877 'string' => $p->fake_full_path,878 'string' => '/'.$path[1].'/'.$path[2], 878 879 'relatives' => array ($p->mask), 879 880 'operation' => $acl_operation … … 1364 1365 ) 1365 1366 ); 1366 1367 // In your dir you can do anything you want 1368 $path = explode('/',$t->fake_full_path); 1367 1369 if (!$this->acl_check (array( 1368 'string' => $f->fake_full_path,1370 'string' => '/'.$path[1].'/'.$path[2], 1369 1371 'relatives' => array ($f->mask), 1370 1372 'operation' => PHPGW_ACL_READ 1371 1373 )) 1372 1374 || !$this->acl_check (array( 1373 'string' => $f->fake_full_path,1375 'string' => '/'.$path[1].'/'.$path[2], 1374 1376 'relatives' => array ($f->mask), 1375 1377 'operation' => PHPGW_ACL_DELETE … … 1381 1383 1382 1384 if (!$this->acl_check (array( 1383 'string' => $t->fake_full_path,1385 'string' => '/'.$path[1].'/'.$path[2], 1384 1386 'relatives' => array ($t->mask), 1385 1387 'operation' => PHPGW_ACL_ADD … … 1397 1399 { 1398 1400 if (!$this->acl_check (array( 1399 'string' => $t->fake_full_path,1401 'string' => '/'.$path[1].'/'.$path[2], 1400 1402 'relatives' => array ($t->mask), 1401 1403 'operation' => PHPGW_ACL_EDIT
Note: See TracChangeset
for help on using the changeset viewer.