290 |
} |
} |
291 |
} |
} |
292 |
|
|
293 |
|
# list where only people from the ldap_group can post, ad where they are subscribe |
294 |
|
# by default, but anybody else can subscribe to read and receive messages |
295 |
|
define public_restricted_list($subject, $subscriber_ldap_group, $language = 'en', $topics = false) { |
296 |
|
list{ $name: |
297 |
|
subject => $subject, |
298 |
|
profile => "", |
299 |
|
topics => $topics, |
300 |
|
language => $language, |
301 |
|
subscriber_ldap_group => $subscriber_ldap_group, |
302 |
|
sender_ldap_group => $subscriber_ldap_group, |
303 |
|
subscription_open => true, |
304 |
|
} |
305 |
|
} |
306 |
|
|
307 |
|
|
308 |
# same as restricted list, but anybody can post |
# same as restricted list, but anybody can post |
309 |
define restricted_list_open($subject, $subscriber_ldap_group, $language = 'en', $topics = false) { |
define restricted_list_open($subject, $subscriber_ldap_group, $language = 'en', $topics = false) { |
310 |
list{ $name: |
list{ $name: |