Hi.
For future reference, if anyone is interested, I was able to fix the issue of the
registration page for unregistered users not using the configuration set in the
registration administration pane.
In short, I was looking in the right direction when looking at permission issues. Simple
(once you know where to look): Unregistered users must have view permission on page
XWiki.RegistrationConfig.
It took me a very long time to find the issue, and only after looking at the actual source
behind XWiki.Registration. Since there was no documentation on this and since
XWiki.RegistrationConfig is an unlisted page, I can’t imagine that administrators are
supposed to find that page and change rights to use this feature. Could it be a bug? Did
no one else encounter this issue?
Cheers,
Gilles.
On 19 Apr 2017, at 20:08, Gilles Dubochet
<gilles.dubochet(a)ideasbelong.org> wrote:
Hi list,
This is my first post. Just starting with XWiki, and pretty excited about everything it
can do.
I’m trying to configure the registration text (what unregistered users see when they
create a new account on page XWikiRegister). I changed what I want in
Administration:Registration (page heading and welcome message), as described in the XWiki
help.
However, when an unregistered user goes to the registration page, they will not see my
custom message, but a default message above the registration form (note absence of
styling):
Registration
Sign up here so you can edit pages and participate in the wiki.
But… when I navigate to the registration page while logged in with my administrator
account, I get the page with my customised page heading and welcome message. By navigate,
I mean copy the link ".../xwiki/bin/register/XWiki/XWikiRegister" into my
address bar.
And… when I navigate to the same page while logged in with a non-administrator account, I
get an error ("You are not allowed to view this page or perform this action.”). Which
is OK, I guess.
Can anyone point me towards what might be going on? My best guess is that it is a rights
problem (I’ve been fighting with those). But I have no idea where to look.
My XWiki version is a hosted enterprise 8.4.4.
Thank you so much for your help!
Cheers,
Gilles