[dokuwiki] preventing commit mails for acl-locked pages

  • From: Mike Frysinger <vapier@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 1 Apr 2008 00:08:36 -0400

ive posted this a few times in the past, but cant seem to get anyone to 
notice :x

we have a [mostly] public wiki.  there are a few pages that we lock down for 
internal use only via acls and https (it has sensitive information).  as 
such, we dont want commit diffs being sent out to the public mailing list.

the solution is to just add an auth_aclcheck() to the top of notify() ... if 
the $id does not allow any access, then dont send an e-mail.

if (auth_aclcheck($id, '', '') == AUTH_NONE)
        return;

any thoughts on how to get this merged in some form ?
-mike

Other related posts: