Answer the question
In order to leave comments, you need to log in
How to set up REST authorization for AngulagJS and Yii2?
Started developing an app. Yii2 backend, front end using angularjs. Since I just started to deal with these frameworks, I don’t really understand what normal solutions already exist. There are a whole bunch of examples of how to use REST and they are all of the same type, but there are few authorization examples and each has its own approach. Here I would like to understand whether there are more or less standard solutions, both from the front and from the back?
And another question arose about access rights, on the back side it’s simple - the user will have rights to certain requests. But what are the standard methods of working with user rights/roles on the front-end? The main thing is not understanding how to control the visibility of different areas on the front. In which direction to dig here?
Answer the question
In order to leave comments, you need to log in
and everyone has their own way
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question