I would like to use communities or sites for different usergroups of our IT department. For instance I would like to have one community for the guys supporting our Internet site, one for the networking groups, one for the helpdesk and so fourth... I have succesfully created these sites and made the users members of their respective sites.
But now I want to make these sites the default landing site for the users so that they don't have to login and select the site under the Go To option in the top right corner in the UMP.
However I want to keep the private pages for the users so that they can put their own content there if there is something that they are setting up that does not need to be shared by everyone in that group.
Furthermore I would like to make the community sites editable only by selected users so that I have some control over how they are set up.
Any ideas as to how I can accomplish this?
To change the default landing page, you need to use a custom hook. There's one going around the forums that's quite old and here's one example too: https://www.liferay.com/marketplace/-/mp/application/17676547
As for your sites, I think you need to look at Roles and make your users "Site members" and the ones who can modify "Site administrators".
We use the custom login in class that john linked to works well you will just need to play with the setting in the portlet-ext.properties file.
Site Owner (can do everything)
Site Administrator (add remove users to site)
Site Member (basically a guest for the site)