diff options
Diffstat (limited to 'modules/sympa')
-rw-r--r-- | modules/sympa/manifests/init.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp index aa520405..58d6baaf 100644 --- a/modules/sympa/manifests/init.pp +++ b/modules/sympa/manifests/init.pp @@ -290,6 +290,21 @@ class sympa { } } + # list where only people from the ldap_group can post, ad where they are subscribe + # by default, but anybody else can subscribe to read and receive messages + define public_restricted_list($subject, $subscriber_ldap_group, $language = 'en', $topics = false) { + list{ $name: + subject => $subject, + profile => "", + topics => $topics, + language => $language, + subscriber_ldap_group => $subscriber_ldap_group, + sender_ldap_group => $subscriber_ldap_group, + subscription_open => true, + } + } + + # same as restricted list, but anybody can post define restricted_list_open($subject, $subscriber_ldap_group, $language = 'en', $topics = false) { list{ $name: |