This question about Configuration: Answered

User mapping to WikiUsers doesn't seem to be working.

Hi guys.

I'm having some trouble with user mapping using FosWiki. I'm currently trialing an upgrade of our TWiki environment which uses a Postgres database for authentication.

For now though, I am trying foswiki with the default authentication until I can get user mapping to work.

I have looked through a lot of the documentation, but I still cannot get my problem resolved. I have a user named Sysadmin, who has a login name set as sys, just as a test run, however when I login as sys, I am not forwarded to "Sysadmin" but rather Main.sys and my login on the lefthand side still shows as "sys".

This is my entry in the WikiUsers page:

SysAdmin - sys - 04 Dec 2014 - 16:28

I've had quite a good read through the documentation but haven't had much luck finding why it doesn't want to map to "SysAdmin", but any ideas would be very much appreciated.

Thanks!

-- LiamPrice - 05 Dec 2014

What are your settings for
  • {UserMappingManager}
  • {PasswordManager}
  • {LoginManager}

Note that the formatting of WikiUsers is very particular. It needs to be kept in alpha order, and each line needs to be a bullet.

-- GeorgeClark - 06 Dec 2014

Ah... in looking at your example above, I didn't notice it before. The wikiname has to be listed as a simple text "WikiName", not a link in [[link to some place][Link text]] If that's what you have in the text view of your WikiUsers topic, then that's the issue.

So your example should be:
   * SysAdmin - sys - 04 Dec 2014 - 16:28

and not

[[http://cat.nta-monitor.com/foswiki/bin/view/Main/SysAdmin][SysAdmin]] - sys - 04 Dec 2014 - 16:28

  • It's not a bullet
  • It's a link, not a WikiName

-- GeorgeClark - 01 Jan 2015
 

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r3 - 01 Jan 2015, GeorgeClark - This page was cached on 12 Nov 2018 - 19:19.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy