Commit Graph
4 Commits
Author SHA1 Message Date
Stephan ed90f1e6ae Allow for groups to be specified when POSTing /api/admins
+ Add the admin router to the global app
2022-04-28 12:49:07 +02:00
Stephan 84db24fdb4 Add controller for adding a user
+ Add function to narrow type of string to AdminLevel
2022-04-28 12:49:07 +02:00
Stephan 79c5c3752c Extract code for error messages for better reusability
+ Create function for generating permission errors
2022-04-28 12:49:07 +02:00
Stephan fdfbd22daf Add a controller for getting all admin user details
+ Requires Authentication
2022-04-28 12:49:07 +02:00