--- /dev/null
+<?php\r
+/**\r
+ * Abomailmans\r
+ * MaZiaR - NetAktiv\r
+ * tech@netaktiv.com\r
+ * © 2007 - 2012\r
+ */\r
+\r
+/**\r
+ * Fonction pour le pipeline, n'a rien a effectuer\r
+ *\r
+*/\r
+function abomailmans_autoriser(){}\r
+\r
+if (!defined("_ECRIRE_INC_VERSION")) return;\r
+\r
+// autorisation des boutons\r
+function autoriser_abomailman_bouton_dist($faire, $type, $id, $qui, $opt) {\r
+ spip_log('bouton autoriser','test');\r
+ return autoriser('modifier', $type, $id, $qui, $opt);\r
+}\r
+\r
+function autoriser_abomailman_creer_dist($faire, $type, $id, $qui, $opt){\r
+ spip_log('creer autoriser','test');\r
+ return autoriser('modifier', $type, $id, $qui, $opt);\r
+}\r
+\r
+function autoriser_abomailman_modifier_dist($faire, $type, $id, $qui, $opt){\r
+ return ($qui['statut']=='0minirezo') AND !$qui['restreint'];\r
+}\r
+\r
+?>
\ No newline at end of file