added STANDARD admin responsibility

This commit is contained in:
Laurin
2022-06-06 18:34:59 +02:00
parent 339ecff938
commit 60100273fb
10 changed files with 92 additions and 43 deletions
-6
View File
@@ -23,10 +23,4 @@ router.delete<"/:pid/", { pid: string }>(
deleteTeam
);
router.get<"/:pid/roles", { pid: string }>(
"/:pid/roles",
requireConfiguredAuthentication({ optional: false, type: { admin: true, teamleader: true } }),
getRolesForTeam
);
export default router;