Sorry for my late reply. A possible solution would be the removal of the sidebar-blocks from the array used to store them. We can do this in
/user/boxes.php[/m] (NOT [m]/conf/boxes.php) so the changes will be preserved on updates.
You might try something like the following:
if (!empty($conf["useacl"])) { // no check if ACLs are disabled
//keys are the array keys used in $_vector_boxes
//values are the DokuWiki site id to check
$check["p-navigation"] = tpl_getConf("vector_navigation_location");
$check["foobar"] = ':example:page';
foreach ($pages_to_check as $box_key => $page_to_check) {
if (!empty($box_key) &&
auth_quickaclcheck(cleanID($page_to_check)) < AUTH_READ) {
unset($_vector_boxes[$box_key]); //user got no access, remove box
}
}
}
However, I did not test the code above... so just report if it does not work :-). I think I will add an configurabl ACL check in the next vector release.