/**
* @see org.olat.navigation.SiteDefinition#createSite(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
*/
public SiteInstance createSite(UserRequest ureq, WindowControl wControl) {
SiteInstance si = null;
if (ureq == null) throw new AssertException("HomeSiteDef.createSite: ureq was null");
if (ureq.getUserSession() == null) throw new AssertException("HomeSiteDef.createSite: ureq.getUserSession() was null");
if (ureq.getUserSession().getRoles() == null) throw new AssertException("HomeSiteDef.createSite: ureq.getUserSession().getRoles() was null");
if (ureq.getUserSession().getRoles().isGuestOnly()) {
// guest see this site (restricted rights and navigation)