It's either a bug or something counterintuitive with the rights setup for virtual wikis.

As far as I can see, on the secondary wiki the createUser API call generates a request for the register right on XWiki.XWikiPreferences on behalf of user XWiki.XWikiGuest, which gets denied.

On the main wiki, I see a request for the programming right on XWiki.RegisterNewUser on behalf of XWiki.Admin (even though I really don't think I'm logged in as XWiki.Admin) which is granted at 'master admin level'. Don't see how this could happen, but it's there in the log. Possibly an error on my part, as swiching debug on for XWikiRightServiceImpl really creates a __storm__ of log entries. 

Ah well, will keep looking at it. But thought I'd report what I've found so far in case someone else want to take a look.

On 10 Oct 2006, at 21:41, Frank Haefemeier wrote:

Am Di, den 10.10.2006 schrieb Robin Fernandes um 18:34: 
Frank,
Are you sure you have the same problem? By this I mean:
1. Are you also not on the wiki farm?

Yes, I am not on the farm. I'm running xwiki on two different machines
and on one machine there are two virtual wikis. And on the second wiki
I have exact the same problem.

2. Have you also already tried saving RegisterNewUser with a user with
programming rights? (if you're on the farm you'll have to ask an admin
to do it for you).

Yes, I did it, with no effect.

I will check anything in the next days and will give here in the list
a message about the result.

Bye
Frank



--
You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws