Skip to Content.
Sympa Menu

en - Re: [sympa-users] privileged owners and scenari sources

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Riccardo Veraldi <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] privileged owners and scenari sources
  • Date: Mon, 17 Jan 2011 09:55:04 +0100

Hi,
I need this feature because this is the only way owners can add or remove
whitelist for senders.
The only way that I could find to enable whitelists for private  mailing lists is a custom scenario

####
title.gettext Private, moderated for non subscribers plus exceptions

is_subscriber([listname],[sender]) smtp,smime,md5    -> do_it
is_editor([listname],[sender])     smtp,smime,md5    -> do_it
equal([sender], 'address@concealed') smtp,smime,md5   -> do_it
equal([sender], 'address@concealed') smtp,smime,md5   -> do_it
true()                             smtp,smime,md5    -> editorkey

so that in this way  address@concealed and address@concealed can write to the list.

If owners cannot edit scenari source, they cannot modify the whitelist.
And with a mailign list server with thousand lists, the lsitmaster goes crazy t oedit the whitelist scenari all the time.

This is the reason why I need Scenario Source button for list owners

thank you for the hint

Riccardo


On 1/13/11 7:39 PM, Olivier Salaün wrote:
address@concealed"> Hi Riccardo,

Le 12/01/11 17:15, Riccardo Veraldi a écrit :
address@concealed">Hello,
I have latest sympa version installed.
Actually only the listmaster can edit scenario source for a given mailing list.
How I have to do if I want to allow also privileged list owners to edit scenario source for their own mailing lists ?
Limiting scenario edition to listmaster is a hard-coded behavior.
But you could customize the web_tt2/edit_list_request.tt2 file and change this:
             [% IF p.type == 'scenario' %]
             [% IF is_listmaster %]
        &nbsp;<a class="input" href=""[%" path_cgi %]/dump_scenario/[% list %]/[% p.name %]" title="[%|loc%]scenario source[%END%]">[%|loc%]scenario source[%END%]</a>
             [% END %]
             [% END %]
  Note however that this is at your own risk: I don't think that list owners are skilled  enough to edit the authorization scenarios.




Archive powered by MHonArc 2.6.19+.

Top of Page