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, 21 Mar 2011 17:06:02 +0100

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.





Archive powered by MHonArc 2.6.19+.

Top of Page