You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
477 B

<?php
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
// fonction pour le pipeline, n'a rien a effectuer
function malettre_autoriser(){}
// declarations d'autorisations
function autoriser_malettre_bouton_dist($faire, $type, $id, $qui, $opt) {
6 months ago
return autoriser('voir', 'malettre', $id, $qui, $opt);
}
function autoriser_malettre_voir_dist($faire, $type, $id, $qui, $opt) {
6 months ago
return (in_array($qui['statut'],array('0minirezo'))); // pour l'instant uniquement les admins
}