NIAEFEUP / feup-exchange-backend

MIT License
3 stars 0 forks source link

[Endpoint] Implement authentication of platform admins #18

Open EduRibeiro00 opened 2 years ago

EduRibeiro00 commented 2 years ago

Besides having accounts for the students that are using the platform, we need admin accounts that have special previleges and can preform special operations, like scheduling the running of the algorithm or downloading the document of the allocation of students.

These admin accounts need to be registered in our database. We should use DjangoDRF and token authentication to authenticate the admin. In case of success, we will receive a token that we can later use for any requests that are admin-only.