[Moin-user] ACLs no longer work after upgrade from 1.5 to 1.7

skip at pobox.com skip at pobox.com
Sat Nov 15 15:14:05 EST 2008


The Python wiki was upgrade from 1.5.3 to 1.7.1 as a side effect of a Debian
upgrade.  The ACLs no longer work.  For example, there is an AdminGroup
page:

    http://wiki.python.org/moin/AdminGroup

of which I am a member (SkipMontanaro).  I'm logged in yet Moin marks the
page as immutable.  Same for several other key pages.

I took a look at the main.py script for the old and new versions but found
little different:

    # diff -u {instances,instances_1.5}/main.py
    --- instances/main.py       2008-11-15 11:14:27.000000000 +0100
    +++ instances_1.5/main.py   2007-12-27 13:15:11.000000000 +0100
    @@ -74,7 +74,7 @@

         # Link spam protection for public wikis (Uncomment to enable)
         # Needs a reliable internet connection.
    -    from MoinMoin.security.antispam import SecurityPolicy
    +    from MoinMoin.util.antispam import SecurityPolicy


         # Mail --------------------------------------------------------------

In particular, ACLs are enabled:

    # egrep acl instances/main.py
        # Enable acl (0 to disable)
        acl_enabled = 1    
        acl_rights_before = u"BlockedUsersGroup: AdminGroup:read,write,delete,revert,admin"

Any suggestions about where to look for clues to this mystery?

Thanks,

-- 
Skip Montanaro - skip at pobox.com - http://smontanaro.dyndns.org/




More information about the Moin-user mailing list