Commit 3aa40893 authored by Matija Obreza's avatar Matija Obreza
Browse files

TODOs

parent cb89e48e
......@@ -84,6 +84,7 @@ public class TeamServiceImpl implements TeamService {
team.getMembers().add(user);
teamRepository.save(team);
// TODO Add permissions
LOG.info("Added user to " + team);
return team;
}
......@@ -95,6 +96,7 @@ public class TeamServiceImpl implements TeamService {
if (team.getMembers().remove(user)) {
teamRepository.save(team);
LOG.info("Removed " + user + " from " + team);
// TODO Revoke permissions
}
LOG.warn("Could not remove user from team.");
......@@ -117,6 +119,7 @@ public class TeamServiceImpl implements TeamService {
if (removed) {
teamRepository.save(team);
LOG.info("Removed " + user + " from " + team);
// TODO Revoke permissions
}
LOG.warn("Could not remove user from team.");
}
......
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