Skip to Content.
Sympa Menu

fr - patch for WWSympa

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

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: patch for WWSympa
  • Date: Mon, 20 Dec 1999 14:02:18 +0100

Due to "visibility" scenarization, WWSympa 0.5(.1) does not show
public lists to non-authentified users.

Here is a patch to solve this problem :

*** wwsympa.fcgi.orig Thu Dec 16 16:43:20 1999
--- wwsympa.fcgi Mon Dec 20 09:20:09 1999
***************
*** 565,571 ****

foreach $l ( &List::get_lists() ) {
my $list = new List ($l);
! my $action = &List::get_action ('visibility', $l,
$param->{'user'}{'email'}, 'smtp');

next unless ($action eq 'do_it');
$param->{'lists'}{$l}{'subject'} = $list->{'admin'}{'subject'};
--- 565,572 ----

foreach $l ( &List::get_lists() ) {
my $list = new List ($l);
! my $sender = $param->{'user'}{'email'} || 'nobody';
! my $action = &List::get_action ('visibility', $l, $sender, 'smtp');

next unless ($action eq 'do_it');
$param->{'lists'}{$l}{'subject'} = $list->{'admin'}{'subject'};


--------------
Olivier Salaün




Archive powered by MHonArc 2.6.19+.

Top of Page