Description

UserNames, a portion of which are a WikiName are not matched in Group lists.

Steps to reproduce

  1. If necessary, create a user with a delimiter in the user name such that a portion of the name looks like a WikiName. For example 'John-PaulJones' or 'User McLeod'.

  2. Add the user to some Group page in the normal way. e.g.
     * John-PaulJones
     * User McLeod
  3. Switch to that user and visit some page that has rights for that group.

The user will not have the rights of the group.

Details

MoinMoin Version

1.9.8

OS and Version

Ubuntu 14.04 LTS

Python Version

2.7.6

Server Setup

Apache with mod_wsgi

Server Details

Apache 2.4.7, mod_wsgi 4.4.22

Language you are using the wiki in (set in the browser/UserPreferences)

en

Workaround

Add the user name to the Group as links. e.g.,

 * [[John-PaulJones]]
 * [[User McLeod]]

Discussion

This actually may be the expected behavior. There is mention of the link syntax in the section on 'defining' in HelpOnGroups, but no explicit mention that this is required for names of the problem form. Perhaps only a note about that in HelpOnGroups is all that's required. -- MarkSapiro 2016-04-17 17:20:58

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/User-McNameInGroupDoesntMatch (last edited 2016-04-17 17:20:58 by MarkSapiro)