I am really unsure of how to show the data based on the logged-in user. The problem that I am trying to solve pertains to the following logic'
- There is a repository(Datasource) of the teachers (manager in my case ) These teachers then report to a Head of Department that in turn report to the principal.
- The teacher should be able to rate the students based on random questions(there is a separate list for that), and this teacher should be able to see only the students assigned to her not the other students of different classes.
- Similarly, an HoD should be able to teachers from her/his department, not the other teachers and rate them.
- Google SSO implementation.
Any help is appreciated well in advance I have started coding a few months back, need to develop this project form my confidence.