Quote from: Dimmy at Sep 30, 2008, 09:08 AM
ok I found the bug and made a fix:
its not in MG but in the user_documents_permissions.class.php class in all 096x versions
first this line (33):
if($GLOBALS['use_udperms']==0 || $GLOBALS['use_udperms']=="" || !isset($GLOBALS['use_udperms'])) {
return true; // permissions aren't in use
}
this will always return true because $GLOBALS[’use_udperms’] does not exist it must be $modx->config[’use_udperms’], like this:
Good catch Dimmy. If you haven’t already, would you post this bug on Jira.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."