gamutable/gamutable_autorisations.php

30 lines
561 B
PHP

<?php
/**
* Définit les autorisations du plugin GamuTable
*
* @plugin GamuTable
* @copyright 2020
* @author tofulm
* @licence GNU/GPL
* @package SPIP\Gamutable\Autorisations
*/
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
/**
* Fonction d'appel pour le pipeline
* @pipeline autoriser */
function gamutable_autoriser() {
}
function autoriser_gamutable_purger_dist($faire, $type, $id, $qui, $opt) {
return autoriser('webmestre');
}
function autoriser_gamutable_modifier_dist($faire, $type, $id, $qui, $opt) {
return true;
}