Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1369

XWiki.XWikiGuest is creating the User instead of the XWiki.Username

$
0
0

Hello,

I was initially having issue with users getting into XWikiAllGroup. I was goggling and found that, setting this config xwiki.authentication.group.allgroupimplicit=1 will consider all users as members of the XWiki.XWikiAllGroup and it worked for me.

But the new users are not being created correctly. In below screenshot

1st row is the user being created after setting xwiki.authentication.group.allgroupimplicit=1 and it is created by XWikiGuest

2nd row is the user before setting xwiki.authentication.group.allgroupimplicit=1 and values before where 0 for allgroupimplict and xwiki.users.initialGroups=XWiki.XWikiAllGroup and the created by was user itself. In this scenario user is not being added to XWikiAllGroup that is the reason I have change the allgroupimplict value.

Why is the 1st row created by XWikiGuest ? Also, 1st row created user is not found in users list when I go to the UI and search.

We are in XWiki 15.10.2 and we use this method to create users context.getWiki().createUser(wikiname, userAttributes, “edit”, context);

image

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1369

Trending Articles