[Moin-user] acl configuration

Michael P. Soulier michael_soulier at mitel.com
Fri Sep 24 11:38:06 EDT 2004


On 21/09/04 Thomas Waldmann did say:

> Well, you maybe have done sth wrong, but without more infos, I can't 
> help much.

I've found the problem. I have this on my moin_config.py to force users
to create an account and login before editing pages. 

class SecurityPolicy(Permissions):
    def edit(self, pagename, **kw):
       return self.request.user.valid

This is incompatible with the acls. As soon as I comment this out, the
page that I should have only read access to becomes immutable. 

Suggestions to get both working? The above code is straight from the
FAQ.

Mike

-- 
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