Accéder au contenu.
Menu Sympa

fr - [sympa-fr] Re: sympa : personnalisation edit_list_request/sending vs Digest

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: "Eddy Beliveau" <adresse@cachée>
  • To: Olivier Salaün - CRU <adresse@cachée>
  • Cc: <adresse@cachée>
  • Subject: [sympa-fr] Re: sympa : personnalisation edit_list_request/sending vs Digest
  • Date: Mon, 18 Dec 2006 12:20:25 -0500

Bonjour,
 
Merci pour votre courriel.
 
J'ai ajouté les deux lignes mentionnées à mon fichier /etc/sympa/edit_list.conf
digest_max_size                 owner,privileged_owner          read
digest.days                         owner,privileged_owner          read
 
(voir le fichier complet à la fin de ce courriel)
 
Note, je ne redémarre aucun service étant donné que les modifications sont prises en compte dynamiquement.
 
Maintenant, /wwsympa.fcgi/edit_list_request/test-101-l/sending
génére une page blanche
 
Dec 18 11:52:38 sympa wwsympa[22360]: [robot hec.ca] [client 172.23.1.146] [user adresse@cachée] [list test-101-l] do_edit_list_request(sending)
Dec 18 11:52:38 sympa wwsympa[22360]: tools::load_edit_list_conf (hec.ca)
Dec 18 11:52:38 sympa wwsympa[22360]: List::am_i(privileged_owner, test-101-l, adresse@cachée)
Dec 18 11:52:38 sympa last message repeated 4 times
Dec 18 11:52:40 sympa bounced[13199]: List::init_list_cache()
Dec 18 11:52:40 sympa bounced[13199]: Reaper unwaited pids :  Open = 0
Dec 18 11:52:40 sympa sympa[13187]: Language::SetLang(fr)
Dec 18 11:52:40 sympa sympa[13187]: List::init_list_cache()
Dec 18 11:52:40 sympa sympa[13187]: Reaper unwaited pids :  Open = 0
Dec 18 11:52:41 sympa archived[13193]: List::init_list_cache()
 
La page d'affichage est blanche si je choisit le privilège 'read' ou 'hidden'
 
L'affichage est OK si je choisit le privilège 'write'
ou si je met en commentaire ces deux lignes.
 
Devrais-je augmenter mon niveau de log ?
 
Avez-vous une idée sur la façon qui me permettrait de retracer l'erreur ?
 
Merci encore
Eddy
----- Message d'origine -----
De : Olivier Salaün - CRU
J'utilise sympa 5.2.3-1 et tout va bien
 
J'essaie de personnaliser la page cgi-bin/wwsympa.fcgi/edit_list_request/<ma liste>/sending
 
Je ne voudrais pas que le owner/owner privilégié puisse modifier les champs:
digest frequency, digest maximum number of messages, available subscription options, topics...
 
J'ai essayé, sans succès, de jouer avec les privilèges 'hidden/read/write' du fichier edit_list.conf 
C'est effectivement le bon moyen pour restreindre les droits d'édition de certains paramètres de liste. Le fichier edit_list.conf peut être installé soit globalement au niveau du site (dans /home/sympa/etc/edit_list.conf) soit pour une liste (/home/sympa/expl/maliste/edit_list.conf). Les modifications de ce fichier sont priess en compte dynamiquement par Sympa. Voici un extrait de edit_list.conf qui répondra à une partie de vos besoins :
digest_max_size            owner,privileged_owner        hidden
digest.days            owner,privileged_owner        hidden
     1  user_data_source                owner,privileged_owner          hidden
     2  include_file                    owner,privileged_owner          hidden
     3  include_remote_file             owner,privileged_owner          hidden
     4  include_list                    owner,privileged_owner          hidden
     5  include_sql_query               owner,privileged_owner          hidden
     6  include_ldap_query              owner,privileged_owner          hidden
     7  include_ldap_2level_query       owner,privileged_owner          hidden
     8  include_remote_sympa_list       owner,privileged_owner          hidden
     9  include_admin                   owner,privileged_owner          hidden
    10  export                          owner,privileged_owner          hidden
    11  ttl                             owner,privileged_owner          hidden
    12  shared_doc                      owner,privileged_owner          hidden
    13  shared_doc.d_read               owner,privileged_owner          hidden
    14  shared_doc.d_edit               owner,privileged_owner          hidden
    15  shared_doc.quota                owner,privileged_owner          hidden
    16  web_archive                     owner,privileged_owner          read
    17  web_archive.quota               owner,privileged_owner          hidden
    18  web_archive.max_month           owner,privileged_owner          read
    19  web_archive_spam_protection     owner,privileged_owner          hidden
    20  spam_protection                 owner,privileged_owner          hidden
    21  review                          owner,privileged_owner          read
    22  add                             owner,privileged_owner          hidden
    23  del                             owner,privileged_owner          hidden
    24  subscribe                       owner,privileged_owner          read
    25  unsubscribe                     owner,privileged_owner          read
    26  invite                          owner,privileged_owner          hidden
    27  expire_task                     owner,privileged_owner          hidden
    28  remind_task                     owner,privileged_owner          hidden
    29  remind                          owner,privileged_owner          hidden
    30  remind_return_path              owner,privileged_owner          hidden
    31  welcome_return_path             owner,privileged_owner          hidden
    32  priority                        owner,privileged_owner          hidden
    33  max_size                        owner,privileged_owner          hidden
    34  footer_type                     owner,privileged_owner          hidden
    35  cookie                          owner,privileged_owner          hidden
    36  clean_delay_queuemod            owner,privileged_owner          hidden
    37  bounce                          owner,privileged_owner          hidden
    38  bouncers_level1                 owner,privileged_owner          hidden
    39  bouncers_level2                 owner,privileged_owner          hidden
    40  verp_rate                       owner,privileged_owner          hidden
    41  loop_prevention_regex           owner,privileged_owner          hidden
    42  archive                         owner,privileged_owner          hidden
    43  archive_crypted_msg             owner,privileged_owner          hidden
    44  host                            owner,privileged_owner          hidden
    45  account                         owner,privileged_owner          hidden
    46  family_name                     listmaster                      read
    47  family_name                     privileged_owner,owner          hidden
    48  latest_instantiation            owner,privileged_owner          hidden
    49  owner                           privileged_owner                write
    50  owner                           owner                           read
    51  owner.profile                   owner,privileged_owner          hidden
    52  owner.info                      owner,privileged_owner          hidden
    53  owner_include                   owner,privileged_owner          hidden
    54  editor                          owner                           read
    55  editor                          privileged_owner                write
    56  editor_include                  owner,privileged_owner          hidden
    57  info                            owner,privileged_owner          read
    58  send                            owner,privileged_owner          read
    59  status                          owner                           hidden
    60  status                          privileged_owner                read
    61  update                          owner                           hidden
    62  update                          privileged_owner                read
    63  creation                        owner                           hidden
    64  creation                        privileged_owner                read
    65  serial                          owner                           hidden
    66  serial                          privileged_owner                read
    67  anonymous_sender                owner,privileged_owner          hidden
    68  reply_to_header                 owner,privileged_owner          hidden
    69  forced_reply_to                 owner,privileged_owner          hidden
    70  custom_header                   owner,privileged_owner          hidden
    71  rfc2369_header_fields           owner,privileged_owner          hidden
    72  default_user_options            owner,privileged_owner          hidden
    73  lang                            owner,privileged_owner          hidden
    74  visibility                      owner,privileged_owner          read
    75  create_list_request.tt2         owner,privileged_owner          hidden
    76  list_created.tt2                owner,privileged_owner          hidden
    77  digest_max_size                 owner,privileged_owner          read
    78  digest.days                     owner,privileged_owner          read
    79  default                         privileged_owner                write
    80  default                         owner                           write
    81  default                         editor                          read
    82  default                         listmaster                      write

 



Archives gérées par MHonArc 2.6.19+.

Haut de le page