Refactor - document_data.static.php
New - $modx->manager->isAllowed($docid)
New - Allowed parents for each user
Refactor - login.processor.php
Refactor - export.class.inc.php
Fix
Add language - Allowed resources