1
0
forked from PGL/Clyde

added List researches Backend

This commit is contained in:
2024-04-18 18:34:52 +02:00
parent fed567e9ab
commit 3f4f6ed49a
6 changed files with 111 additions and 8 deletions

View File

@ -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)

View File

@ -21,5 +21,7 @@ public enum Applications {
// profile of a researcher
ResearcherProfile,
ManageResearcherProfile,
StudentsList
//the list of all researches (filterable)
ListResearches, StudentsList
}