admin interface

This commit is contained in:
Athou
2013-03-29 17:17:36 +01:00
parent 70739a22af
commit 578583da59
11 changed files with 3730 additions and 10 deletions

View File

@@ -14,10 +14,10 @@ import com.commafeed.frontend.rest.SecurityCheck;
import com.google.common.collect.Maps;
@SecurityCheck(Role.ADMIN)
@Path("admin")
public class AdminREST extends AbstractREST {
@Path("admin/users")
public class AdminUsersREST extends AbstractREST {
@Path("users/get")
@Path("get")
@GET
public Collection<UserModel> getUsers() {
Map<Long, UserModel> users = Maps.newHashMap();