Commit 90f47f8c authored by Grzegorz Pietrusza's avatar Grzegorz Pietrusza

add todos

parent 0946634c
......@@ -19,7 +19,6 @@ public class User implements Principal {
private String password;
private String email;
@JsonCreator
public User(@JsonProperty("name") String name,
@JsonProperty("password") String password,
......
......@@ -38,6 +38,8 @@ public class TasksResource
return tasksRepository.getAllPublic();
}
//todo: make it admin endpoint, any username as parameter
//todo: admin authorization
@GET
@Path("my")
public Collection<String> getUserFlags(@Auth User user) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment