X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fpmwiki.config.php;h=d3ca4208f8391dd00683b889b9ad4036e50e4875;hb=c6db254ad9c105effd68a66e0ddc2e6538b33cd2;hp=3c97eed96608ed67fe20517745d381b890911715;hpb=251b9351fd9dedd7e0772a51537ce64ed9dfa4f7;p=platal.git diff --git a/plugins/pmwiki.config.php b/plugins/pmwiki.config.php index 3c97eed..d3ca420 100644 --- a/plugins/pmwiki.config.php +++ b/plugins/pmwiki.config.php @@ -16,28 +16,8 @@ $InterMapFiles[] = $globals->spoolroot.'plugins/pmwiki.intermap.txt'; $Skin = 'empty'; -XLSDV('en', array('EnterAttributes' => - "Entre ici les différents droit pour la page. Les champs laissés en blanc ne seront pas modifiés. - Pour enlever une restriction ou une autorisation entre clear. - Les différentes restrictions possibles sont : - - Le : à la fin de chaque mot clef est important. Tu peux également combiner plusieurs mots clefs avec and: - ou des espaces (qui remplace le ou logique)
")); - -include_once($globals->spoolroot."/plugins/pmwiki.platalAuth.php"); @include_once("$FarmD/cookbook/e-protect.php"); -$DefaultPasswords['read'] = 'logged:'; -$DefaultPasswords['edit'] = 'has_perms:'; -$DefaultPasswords['attr'] = 'has_perms: and: identified:'; -$DefaultPasswords['admin'] = 'has_perms: and: identified:'; -$DefaultPasswords['upload'] = 'has_perms: and: identified:'; - // Theme-ing {{{ ## The following lines make additional editing buttons appear in the @@ -98,4 +78,10 @@ function doBicol($column=false) } // }}} + +$AuthFunction = 'ReadPage'; + +$HandleAuth['diff'] = 'edit'; +$HandleAuth['source'] = 'edit'; + ?>