Whenever user logs in need to fetch authorization ..if he is authorized make that module or component visible else hide them...
Hope you got my point!! Let me know if you have any other questions
If this post answers your question or helps, please kindly mark it as such.
how do i do
what you said....I wanted to see some code
It completely depends on which strategy to use... Are you using BlazeDs or HttpService...
Which is the backend where you are planning to write you login code....
Once that is setup ..you can ask code or help accordingly... This type of code varies from application to application ...
I was able to do this by using prebuilt access classes from my company
but thanks a lot for all the help