[Moin-user] acl configuration

Michael P. Soulier michael_soulier at mitel.com
Wed Sep 22 17:50:29 EDT 2004

On 22/09/04 Michael P. Soulier did say:

> # Only known users are allowed to edit pages.
> class SecurityPolicy(Permissions):
>     def edit(self, pagename, **kw):
>         return self.user.valid

Ah, I see the FAQ has been updated. This last line is now

return self.request.user.valid

This works now. Back to ACLs. :)


Michael P. Soulier <michael_soulier at mitel.com>, 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix

More information about the Moin-user mailing list