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: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] privileged owners and scenari sources
  • Date: Tue, 22 Mar 2011 09:47:00 +0100

An alternative solution would be to give them access to the edition a file which contain a list of address and use it in a named filter.
There is no out of the box solution to do this in Sympa for now but the next version will intorduce what ce call "custom_actions". Namely: the possibility to include in the web interface any new frame you'd like. for example, a file edition form for whitelists.

Regards,

David

Le 22/03/11 09:39, Riccardo Veraldi a écrit :
address@concealed"> problem solved, httpd had to be restarted...

On 3/21/11 5:06 PM, Riccardo Veraldi wrote:
address@concealed"> I also modified wwsympa.fcgi

<                'dump_scenario' => ['privileged_owner'],
---
>                'dump_scenario' => ['listmaster'],
614c614
<                'set_dumpvars' => ['privileged_owner'],
---
>                'set_dumpvars' => ['listmaster'],


but neverless is not working...

On 3/21/11 4:23 PM, Riccardo Veraldi wrote:
address@concealed">

Hi Olivier I tryed to do it, and if I modify is_listmaster with is_owner
the scenario source button is showed in the web menu but then it can't be modified because the scenario_dump action is forbidden


[list grid-sec-contacts] main::check_action_parameters() authorization failed, insufficient privileges
[list grid-sec-contacts] missing required parameters for action 'dump_scenario'



On 1/13/11 7:39 PM, Olivier Salaün wrote:
Hi Riccardo,

Le 12/01/11 17:15, Riccardo Veraldi a écrit : 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.




--
David Verdin
Comité réseau des universités

Due to the limitations of human brain, I fail to remember all the mails.
So if you want your bug reports or feature requests for Sympa to be processed, please post them to the Sympa tracker

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page