Changeset 98531 in spip-zone for _plugins_/api_syntaxe


Ignore:
Timestamp:
Jun 22, 2016, 5:46:41 PM (4 years ago)
Author:
rastapopoulos@…
Message:

Rah voilà enfin les bonnes autorisations…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/api_syntaxe/trunk/api_syntaxe_autorisations.php

    r98529 r98531  
    1010
    1111// API de syntaxe SPIP seulement pour les comptes utilisateurices
    12 function autoriser_spip_syntaxe_post_collection_dist($faire, $quoi, $id, $qui, $options) {
     12function autoriser_spipsyntaxe_post_collection_dist($faire, $quoi, $id, $qui, $options) {
    1313        include_spip('inc/session');
    1414       
     
    1919        return false;
    2020}
     21function autoriser_propre_post_collection_dist($faire, $quoi, $id, $qui, $options) {
     22        return autoriser($faire, '_spip_syntaxe', $id, $qui, $options);
     23}
     24function autoriser_typo_post_collection_dist($faire, $quoi, $id, $qui, $options) {
     25        return autoriser($faire, '_spip_syntaxe', $id, $qui, $options);
     26}
     27function autoriser_T_post_collection_dist($faire, $quoi, $id, $qui, $options) {
     28        return autoriser($faire, '_spip_syntaxe', $id, $qui, $options);
     29}
     30function autoriser_T_ou_typo_post_collection_dist($faire, $quoi, $id, $qui, $options) {
     31        return autoriser($faire, '_spip_syntaxe', $id, $qui, $options);
     32}
Note: See TracChangeset for help on using the changeset viewer.