mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
admin interface
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user