Skip to content

Commit

Permalink
pulling out actual_aditor from get_which editor info and differentiat…
Browse files Browse the repository at this point in the history
…e between priv owner and owner from get_which lookup.
  • Loading branch information
olivov committed Apr 3, 2020
1 parent 24f9298 commit bfbe662
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cgi/wwsympa.fcgi.in
Original file line number Diff line number Diff line change
Expand Up @@ -4182,6 +4182,10 @@ sub do_lists {
foreach my $list (values %{$which->{'owner'}}) {
$which->{'privileged_owner'}->{$list->{'name'}} =
$list->is_admin('privileged_owner', $param->{'user'}{'email'});
$which->{'owner'}->{$list->{'name'}} =
$list->is_admin('owner', $param->{'user'}{'email'});
}
foreach my $list (values %{$which->{'editor'}}) {
$which->{'actual_editor'}->{$list->{'name'}} =
$list->is_admin('actual_editor', $param->{'user'}{'email'});
}
Expand Down

0 comments on commit bfbe662

Please sign in to comment.