Changeset 1818 for plugins/apostrophePlugin/branches/features/css/lib/model/doctrine/PluginaPageTable.class.php
- Timestamp:
- 07/21/10 16:35:10 (22 months ago)
- Location:
- plugins/apostrophePlugin/branches/features/css
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
lib/model/doctrine/PluginaPageTable.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/branches/features/css
- Property svn:mergeinfo changed
-
plugins/apostrophePlugin/branches/features/css/lib/model/doctrine/PluginaPageTable.class.php
r1681 r1818 530 530 // The explicit case 531 531 532 // Explicit privileges on virtual pages are not permitted. We don't let admins set them anyway, 533 // you should be implementing them yourself with the 'edit' flag to a_area or a_slot, and if we 534 // use the DQL below to look at a page where 'lft' is NULL Doctrine drops that entire clause 535 // and the query matches everything, granting everybody with any editing privileges 536 // the right to edit global slots 537 538 // Sigh, I had this backwards 539 540 if (!$pageOrInfo['lft']) 541 { 542 continue; 543 } 544 532 545 $user_id = $user->getGuardUser()->getId(); 533 546

