[Moin-user] Problem with ACL and groups after migration (1.5.3 => 1.7.0).
Mail@Heavy.ch
mail at heavy.ch
Fri Feb 20 09:16:04 EST 2009
Hi there
Between 1.5 and 1.7 the regex for page_group_regex, page_group_regex,
etc.. changed you should read the docs/ in your moinmoin download
carefully or take a look at http://moinmo.in/HelpOnConfiguration#pages
and check if your wikiconfig.py looks like this:
page_category_regex = ur'(?P<all>Category(?P<key>(?!Template)\S+))'
page_dict_regex = ur'(?P<all>(?P<key>\S+)Dict)'
page_group_regex = ur'(?P<all>(?P<key>\S+)Group)'
page_template_regex = ur'(?P<all>(?P<key>\S+)Template)'
about migration read the docs under: http://moinmo.in/HelpOnInstalling
and maybe http://moinmo.in/HowTo
bye
Marcel
Miguel Da Silva - URI schrieb:
> Dear users, I'm having problems when trying to get my wikis working
> again. The problems rise up when setting up ACL and groups. It follows
> the way I'm setting up ACL's:
>
> acl_enabled = 1
> acl_rights_before = (u"MiguelDaSilva:read,write,revert,delete,admin")
> acl_rights_default = u"All:read"
> acl_rights_after = u""
>
> But, the idea is use a group called AdminGroup and set everything up
> this way:
>
> acl_enabled = 1
> acl_rights_before = (u"AdminGroup:read,write,revert,delete,admin")
> acl_rights_default = u"All:read"
> acl_rights_after = u""
>
> And here is where problems appear... I can not edit any page of that
> wiki, and, just for sure, here goes the AdminGroup file:
>
> * MiguelDaSilva (notice the blank space as first character)
>
> And the odd thing of it all... this wiki was running very well in
> Moinmoin 1.5.3. Everything began when I migrated it to 1.7.0 (in fact,
> the migration was due Debian upgrade from Etch to Lenny some days ago).
>
> How did I migrate the wiki?
>
> $ moin --config-dir=/path/to/config/dir --wiki-url=wiki.mydomain.com
> migration data
>
> Suggestions?
>
> Greetings.
>
> PS. I found a message (in the list history) about a problem very similar
> to this one. The sender got no reply (and it means "I searched, but no
> luck" :) ).
>
More information about the Moin-user
mailing list