[Moin-user] acl configuration

Michael P. Soulier michael_soulier at mitel.com
Wed Sep 22 17:19:10 EDT 2004

On 21/09/04 Thomas Waldmann did say:

> Use >= 1.2.3, it contains important ACL and other fixes.

I just upgraded to 1.2.3. Unfortunately, the hack I used in the config
to force users to login first broke in this version:

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

I got this from the Moin FAQ, I believe.

Running moin.cgi with ?test yields the following failures:

runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase) ... FAIL

FAIL: runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase)
Traceback (most recent call last):
line 45, in runTest
    self.failUnless(regex.search(output), msg='Expected %r in: %s' %
(pattern, output))
  File "//usr/lib/python2.2/unittest.py", line 262, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Expected '1#1970-01-06 00:00:00#1' in: 
1#1970-01-05 19:00:00#1 2#1970-01-03 19:00:00#2 3#2003-03-02 22:03:03#3
4#1999-12-31 19:00:00#4 5#2002-02-01#5 

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

What do you need? I can include the entire config if you like.


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