aboutsummaryrefslogtreecommitdiffstats
path: root/backend/routes/admin.py (follow)
Commit message (Collapse)AuthorAgeLines
* Adds Logging For RoutesloggingGravatar Hassan Abouelela2021-03-15-0/+6
| | | | | | | | | Adds logging for most routes, to make it easier to debug the routes, and keep a better record of major changes. Most operations would not get logged, except the beginning of a more sensitive operation, especially ones that require admin permissions. Signed-off-by: Hassan Abouelela <[email protected]>
* Update admin add route docstringGravatar ks1292020-12-24-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Check is user already admin before addingGravatar ks1292020-12-24-0/+5
|
* Use Pydantic validation instead manual validationGravatar ks1292020-12-24-3/+8
|
* Create route for adding new adminsGravatar ks1292020-12-22-0/+31