SPIP’s default authorisations are made using the ecrire/inc/autoriser.php file.
When SPIP is requested for an autoriser($faire, $type)
type authorisation, it goes to look for a function to handle this requested authorisation. It looks for the named function in the following order:
-
autoriser_$type_$faire
, -
autoriser_$type
, -
autoriser_$faire
, -
autoriser_defaut
, - and then the same list with the
_dist
suffix attached.