root is the boolean property which enables to specify whether a route is registered for the root screen (like Login screen or Main screen). The default value is false.
Here we should show a notification telling that if you create root screen other than default "login" one and make it available by link without login - you should make it available for the anonymous user.
1)
You should turn on cuba.web.allowAnonymousAccess property. Otherwise the user will always be re-directed to the "/app/#login" link, and your root screen will not be opened by URL.
2)
Also such root screen should be available to the anonymous user through roles.
We have already at least one person who was confused.
Environment
Description of the bug or enhancement
These two pages: https://doc.cuba-platform.com/manual-7.1/url_routing.html https://doc.cuba-platform.com/manual-7.1/gui_anonymous_access.html
are related semantically but first one doesn't have link to the second.
https://doc.cuba-platform.com/manual-7.1/url_routing.html#url_route_registration Here
@Route
parameters are described:Here we should show a notification telling that if you create root screen other than default "login" one and make it available by link without login - you should make it available for the anonymous user.
1) You should turn on cuba.web.allowAnonymousAccess property. Otherwise the user will always be re-directed to the "/app/#login" link, and your root screen will not be opened by URL.
2) Also such root screen should be available to the
anonymous
user through roles.We have already at least one person who was confused.