I am working on an application which has backend in Grails and front end in Angular Js.
Can anyone suggest best architect/design to implement Role based User authentication. For example Student users should be able to see specific pages and content areas on some pages, Teachers should see some other contents but Admin should be able to see all of pages and contents.
as in image, in one page, one module is Teacher only, other is Admin only and one block is for everyone.
Thanks in advance.