Mike Cassano schrieb:
> Talkers,
>
> I am running a wiki and if I set ALLOW_ANON_EDIT to false, it doesn't
> seem to behave. For example, people who are not signed in can still
> edit a page.
>
> I dug into the code and found one reference to
> REQUIRE_SIGNIN_BEFORE_EDIT (which is defined as the opposite of
> ALLOW_ANON_EDIT) in PagePerm.php. It is in a block of code related to ACL.
yes, it defines the default ACL.
> Are ACLs working? How do I work with them? Can I set a system-wide ACL
> setting that affects all pages?
yes, it works, but is not yet extensively tested.
every page passes its ACL to its subpages. the page from which every
page derives its ACL is a page named ".", which does not normally exist.
all this is written down in clear text in lib/PagePerm.php. you already
have been there.
> To be clear, my objective is to have a wiki where only people who are
> signed in and authenticated can edit a wikipage.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
|