[pmwiki-users] Notify: Who watches the watchers?

marc gmane at auxbuss.com
Tue Jan 16 04:59:12 CST 2007


 said...
> I'm migration to the notify script from mailform.
>  	http://pmwiki.org/wiki/PmWiki/Notify
> 
> What's the recommended way to keep a close look on Site.NotifyList?
> (Yes, it's password protected, but that's not enough in my mind)
> 
> If I add a separate statement to that page:
> 
>  	notify=christian at home.com  name=Site.NotifyList
> 
> that'll email me when the page is modified. However, if some thugh removes 
> that line, I won't be told that it has been removed, nor told of any 
> future changes to that page...
> 
> One solution I thought of was to create a second page,
>  	Site.AdminNotifyList
> which is also used by the notify script when checking who to notify.
> Then I could have a different password for that page, and at least feel
> a little safer.
> 
> Thoughts?

It might be nice if a 'watches list' could be added to the actionlog 
recipe.

A quick and dirty approach to you issue might be to create:

  field/local/Site.NotifyList.php

and add

<?php

if ($action == 'edit' && (not valid users))
  send me an warning email;

-- 
Cheers,
Marc





More information about the pmwiki-users mailing list