De standaard autorisaties in SPIP worden gedaan met bestand ecrire/inc/autoriser.php.
Wanneer in SPIP gevraagd wordt om een autoriser($faire, $type)
type autorisatie, gaat het op woek naar de functie die dit soort autorisaties regelt. Het zoekt in deze volgorde naar deze functies:
-
autoriser_$type_$faire
, -
autoriser_$type
, -
autoriser_$faire
, -
autoriser_defaut
, - en gaat nogmaals dezelfde lijst af, maar dan met het toevoegsel
_dist
.