In the web application I'm working,
- I've created an organization site which can be accessed by
group/game/home
. - I've made this default landing page after login. By putting this value in the portal-ext.properties file
default.landing.page.path=/group/games/home
- I've also set these two properties to make sure the user is redirected to the default landing page after successfully login.
layout.show.portlet.access.denied=false auth.login.url=/web/guest/login
Now, when I add a new user to the application, the user is created successfully.
But, since the user is not added to the organization, it doesn't have right to access the default landing page.
I have to manually login through admin panel and go to control panel > User and Organisation and then Update Association.
Can someone please help me understand if this can be done at the time of user creation? Is it doable?
NOTE
I'm using Liferay 6.2, Ankit P's suggestion worked for me.
If anyone is using earlier version, Please refer to Prakash K's suggestion.