I need a web-site for “CERN insiders”, so I have suppressed “view public content” for anonymous users. Then asked one of my colleagues to check what happens : he had to sign in, fair enough, but was then automatically directed to his user account page … ?
So, 2 questions :
does this mean that whoever will look at the content will create an account ?
how can I redirect them to the welcome page instead ?
access restriction to CERN insiders, I suppose you mean members of the personnel with a CERN account? In that case they must not create an account ONLY use the CERN account, and of course necessary to do a SIGN IN. Please tell me if I well understood your question.
The second point:
the redirection to the user account page is an issue due to the D9 migration and is known and ongoing. Thanks for your patience.
However in the meantime I can suggest some solutions to access to the welcome page to avoid lost the visitors to your website.
Firstly, start to create a custom block, place in main content and configure as follows:
Almudena’s post is good! I just wanted to further explain her last suggestion in case this is not immediately clear to you: Adding a snippet like that will automatically redirect the now signed in user to what you specify in the https://name.web.cern.ch/home part. This is essentially what you can achieve by using the Redirect module, too. The _self part tells the browser that it should load the specified page in the current tab.
@Almudena : yes, I mean people who already - do- have the credential to pass though the CERN usual gateway and are used to sign-in. And my surprise was to discover that a new account is created on the web site, which is an overkill compared to the previous functionalities.
Sorry for pointing this out if it was known and is being worked on. I must have got lost in the documentation. Adding hacks, code and sniplets is not my (beginner’s) level I’m afraid.
Well, I guess that when the redirection mechanism will be fixed centrally it will become transparent: whoever signs in will not notice that an account was created on my web site, and I’ll just see it if, as admin, I have the curiosity to list and check accounts.
In any case if you add the block as I suggest the visitors could not see any user account page and not be disturbed.
Thanks again and do not hesitate to ask all you need even if it is already known
Regards
Almudena