Hi, On Feb 1, 2010, at 9:58 AM, J. Allen Santos wrote:
Hi, I was playing with XWiki 1.8.1. I was told that users in a wiki is represented as a page with a certain object - XWikiUsers. I copied one user page from one xwiki instance and then saved it to another xwiki instance so as to "register" that user to that instance. The user was "registered" but, it seems that the user doesn't have any rights at all. So, I tried modifying the rights. I registered as Admin then included that user to the XWikiAll group. That solved the problem. Any comments? Any ideas on how to completely "register" a user from one instance to another by copying the user page.. using code?
You also need to add the new user to the correct group (XWikiAllGroup for ex). You can do that using the UI, using the object editor or through code. Thanks -Vincent