I've been using the AUTH_ACL_CHECK event and the page for it (
https://www.dokuwiki.org/devel:event:auth_acl_check) says:
BEFORE handlers should return one of the AUTH_* constants and prevent the default action auth_aclcheck_cb().
Reading that, I tried the following:
return AUTH_ADMIN;
Result: no permissions. If instead I do this:
$event->result = AUTH_ADMIN;
return true;
I get the proper permissions.
Should the event page say to set the event result, rather than return?