Skip to Content.
Sympa Menu

en - Re: [sympa-users] programmatcly adminster lists

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Serge Aumont <address@concealed>
  • To: Chris Pax <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] programmatcly adminster lists
  • Date: Tue, 14 Oct 2008 08:14:31 +0200

Chris Pax wrote:
I have been able to get the SOAP to work, but its functionality is limited.

With SOAP I can create list, and add users. But what I also want to do
is set-up LDAP inclusion and who is owner, editor and moderator.

My plan is to create a config template which I can use to overwrite the config
for a newly created list (a list created via SOAP), in which I change certain
variables like LDAP query's and list owner.

my questions are,
after I have edited the config file, is there anything else I need to do so
that sympa recognizes it?
No, the last change date of the file is tested so if you modify it it will be reloaded.
is there a better way to edit the config file of a list?


This is the state I would like to get to, I want to make a function that looks
like this:

create_list( list_name, list_description, LDAP inclusion query, owners,
editors, moderators);

where LDAP inclusion query, owners, editors, moderators, are all ldap search
query's.
the function call would look like this:

create_list("list_name", "list description", "(type=Student)", "(type=admin)",
"(type=editors)","(type=moderators)");

and subsidiary functions like this:
set_owner("list_name", "(type=admin)");

if any of you have good suggestions to do all of this, any suggestion are
welcomed.
We have received several feature request about list configuration using soap interface. I think the best way to do it may be to create 2 newq features :
-list family : we may create a new family operation that could instantiate a family without removing any list. This operation would only create new list or update existing one.
-soap interface may be used in order to instantiate a family using this new non destructive method.

I think this way would provide exacly your needs.

Regards
Serge

Hop this help.
Serge Aumont



Archive powered by MHonArc 2.6.19+.

Top of Page