Answer the question
In order to leave comments, you need to log in
AngularJS + Yii2 access to pages, resources and actions. How?
I've been tinkering with these two frameworks for the second week and, for the life of me, I don't understand how to check the user.
Angular on a domain, yii2 on a subdomain.
I need to prevent unlogged users from going to multiple pages in Angular. At the same time, some pages are not tied to the resources that the server gives when you go to them. They just need to be hidden before logging in.
Also, you need to somehow define the rights to access various actions on the server side.
Stupidly I do not understand how to do it. Even in the docks it is not written what and how to do. Tell me please.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question