mirror of
https://github.com/detleph/server.git
synced 2026-09-09 16:06:21 +02:00
added STANDARD admin responsibility
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user