Is it possible to have different homepages after a user is logged in based on his role?
Like the ‘Administrator’ will see a page with side menu showing a admin page and a ‘Backoffice’ user has for example a top menu with a backoffice page.
I get the feeling there is only one fixed layout for all userroles.
The cuba.web.mainScreenId property defines the screen that will be used as Main screen, but the platform does not have a mechanism to define the property value based on role.
You can override DefaultApp bean and use DefaultApp#routeTopLeveleWindowIdmethod to define the main screen based on user role: SampleApp