Accéder au contenu.
Menu Sympa

fr - bug action request_auth pour scenario review

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: Dominique ROUSSEAU <adresse@cachée>
  • To: adresse@cachée
  • Subject: bug action request_auth pour scenario review
  • Date: Fri, 24 Sep 1999 11:40:22 +0200

L'action request_auth dans un scenrio review genere un message vide car
le cas n'a pas ete prevu.
Ci joint 2 patches qui corrigent le probleme.
Il faut egalement ajouter un message (j'ai pris 81 qui etait le premier
non utilise) dans les fichiers .cat...

patch pour List.pm :

------------8<--------
--- /nnx/sympa/inst/sympa-2.3.1/src/List.pm Thu Sep 16 13:08:38 1999
+++ List.pm Fri Sep 24 11:34:02 1999
@@ -3136,6 +3136,11 @@
$command = "auth $keyauth $cmd $listname";
$body = sprintf Msg(6, 79, $msg::remind_need_auth),$listname
, $Conf{'sympa'}, $command;
+ }elsif ($cmd eq 'review'){
+ my $keyauth = compute_auth('',$cmd,$listname);
+ $command = "auth $keyauth $cmd $listname";
+ $body = sprintf Msg(6, 81, $msg::review_need_auth),$listname
+ , $Conf{'sympa'}, $command;
}

mail::mailback (\$body, $command, $email);
------------8<-------------

patch pour msg.pl :
--------------8<-----------------
--- /nnx/sympa/inst/sympa-2.3.1/src/msg.pl Mon Jun 28 16:46:41 1999
+++ msg.pl Fri Sep 24 11:10:32 1999
@@ -60,6 +60,16 @@
$remind_need_auth =
'Someone (hopefully you) ask Sympa to send a subscribtion
to each subscriber of list %s
+
+If you want this action to be taken, please send an e-mail to
+%s containing
+ %s
+If you do not want this action to be taken, simply ignore this
message.'
+;
+
+$review_need_auth =
+'Someone (hopefully you) ask Sympa to send you the list of subscribers
+list %s

If you want this action to be taken, please send an e-mail to
%s containing
--------------------8<------------------


--
Dominique Rousseau <adresse@cachée>
Neuronnexion - http://www.neuronnexion.com


  • bug action request_auth pour scenario review, Dominique ROUSSEAU, 24/09/1999

Archives gérées par MHonArc 2.6.19+.

Haut de le page