added List researches Backend

This commit is contained in:
Maxime committed 2024-04-18 18:34:52 +02:00
1 parent fed567e9ab
commit 3f4f6ed49a
6 files changed
+111 -8

No files matched your search

@@ -52,6 +52,7 @@ public class ApplicationsController {
//if unAuthed
authorizedApps.add(Applications.Login);
authorizedApps.add(Applications.ListResearches);
User user = authServ.getUserFromToken(token);
if(user == null)
@@ -21,5 +21,7 @@ public enum Applications {
// profile of a researcher
ResearcherProfile,
ManageResearcherProfile,
StudentsList
//the list of all researches (filterable)
ListResearches, StudentsList
}