diff --git a/blocklog_autorisations.php b/blocklog_autorisations.php index 5a333d2..ded39cd 100755 --- a/blocklog_autorisations.php +++ b/blocklog_autorisations.php @@ -24,6 +24,9 @@ function blocklog_autoriser() { // ----------------- // Objet blocklogs +function autoriser_tableaublochaine_voir_dist($faire, $type, $id, $qui, $opt) { + return $qui['statut'] == '0minirezo' and !$qui['restreint']; +} diff --git a/content/validation_blockchaines.html b/content/validation_blockchaines.html index ad87f24..1801b82 100644 --- a/content/validation_blockchaines.html +++ b/content/validation_blockchaines.html @@ -1,2 +1,2 @@ -[(#SESSION{webmestre}|sinon_interdire_acces)] +[(#AUTORISER{voir,tableaublochaine}|sinon_interdire_acces)]