[Mediawiki-l] How to prevent access of different user groups to different namespaces

Rob Church robchur at gmail.com
Wed Jun 14 12:04:20 UTC 2006


On 14/06/06, Rotem Liss <mail at rotemliss.com> wrote:
> I think this fucntion is already exist (for editing/moving/creating
> page), and is called Title::userCan (includes/Title.php). As far as I
> understand, you can hook it (or just edit it) and return false if it is
> not some public namespace or a talk namespace and the user doesn't have
> the necessary permission.

Let us assume that the user performing the following operation has no
rights to "view" Secret:Page.

1. Open up a page the user can edit
2. {{Secret:Page}}
3. Save

Gasp. This is one example of the vast number of means of accessing
content which makes attempting to use wiki software to lock down
access a somewhat awkward process.


Rob Church



More information about the MediaWiki-l mailing list