Hi. What should I do that my app will be able to all users? I created a polymer front client and when I go to http://localhost:8080/app-front/ I see login form and after success login I see my content . Honestly my app don’t require any authentication and I want that anonymous user will have access to everything on the frontend.
You can remove/move login and show app layout without authentication. Just remove the dom-if in app-shell.html: <template is="dom-if" if="[[authenticated]]" restamp="true">.
In order to work with data you can
[A] Use REST service methods which are allowed for anonymous: see anonymousAllowed="true" in services configuration
[B] Create custom rest controllers which work without authentication which is the most secure and robust way.
In that case you should carefully configure anonymous role (in most cases you will need to configure access group for Anonymous user as well). Also you should bear in mind that any rest service/query become available without authentication.
So when I set the flag authenticated to !authenticated in second markup then I have an access to front website without login but if is it all? You said to delete so…
You should just remove <template is="dom-if" > tag itself (and closing tag as well </template> ). Also I forgot to mention another possibility to work with data for anonymous users: there is an anonymousAllowed="true" setting for REST service methods: Services Configuration - CUBA Platform. Developer’s Manual.