[pmwiki-users] AuthUser group problem
kat_lists at katspace.homelinux.org
Wed Aug 23 20:05:11 CDT 2006
On Wed, Aug 23, 2006 at 08:55:08AM -0500, Patrick R. Michaud wrote:
> On Tue, Aug 22, 2006 at 09:07:44PM -0800, akc wrote:
> > I am having a problem with the way the AuthUser script builds the $auth
> > array for authorization groups. Several of the userids I need to be
> > included in authorization groups contain one or more spaces, which is
> > causing such userids to be considered as 2 or more separate usernames
> > when building the $auth array. My groups as specified in Site.AuthUser
> > are similar to:
> > @usrgroup: user1, BarFoo, foo bar, user4, bar foo barbar, user6
> The notion of having spaces in usernames is a little bizarre.
> I can't think of *any* other authentication systems in common use that
> allow usernames to have spaces, which is why PmWiki doesn't
> use them.
However, it does allow them. For our wiki at work, I'm using AuthUser
with .htpasswd and FASTmembership, and several naieve users added
themselves as "Firstname Lastname" rather than giving themselves user
IDs without spaces in them.
Fortunately, since I'm not using the group functionality, it hasn't been
a problem for me -- but it might be in another wiki we'll probably be
adding later for customers.
Therefore, it might be a good idea to either
(a) allow usernames with spaces in groups or
(b) add an option which *prevents* usernames with spaces being allowed
to be added.
_--_|\ | Kathryn Andersen <http://www.katspace.com>
/ \ |
\_.--.*/ | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha! | -> Earth -> Sol -> Milky Way Galaxy -> Universe
More information about the pmwiki-users