Update of /cvsroot/mailman/mailman/Mailman/Handlers
In directory usw-pr-cvs1:/tmp/cvs-serv17910

Modified Files:
        Approve.py 
Log Message:
process(): If the Approved: header has a password match, also add the
`adminapproved' metadata key.  This is the only unspoofable way for
the list owners to get a message through while the emergency hold is
on.


Index: Approve.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Approve.py,v
retrieving revision 2.6
retrieving revision 2.7
diff -C2 -d -r2.6 -r2.7
*** Approve.py  9 Oct 2001 23:15:18 -0000       2.6
--- Approve.py  15 Mar 2002 04:16:00 -0000      2.7
***************
*** 48,51 ****
--- 48,53 ----
          # match?  For now we'll let it percolate up for further determination.
          msgdata['approved'] = 1
+         # Used by the Emergency module
+         msgdata['adminapproved'] = 1
      # has this message already been posted to this list?
      beentheres = [s.strip().lower() for s in msg.get_all('x-beenthere', [])]


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins

Reply via email to