Replace getUserProjectPermissions with more generic getAuthDataProjectPermissions

This commit is contained in:
Tuan Dang
2023-11-19 18:10:02 +02:00
parent 122a1e32e1
commit 77438f9282
34 changed files with 926 additions and 653 deletions
-8
View File
@@ -36,12 +36,4 @@ router.delete(
environmentController.deleteWorkspaceEnvironment
);
router.get(
"/:workspaceId/environments",
requireAuth({
acceptedAuthModes: [AuthMode.JWT, AuthMode.API_KEY]
}),
environmentController.getAllAccessibleEnvironmentsOfWorkspace
);
export default router;