class DBService extends BasicService {

	@GET
	@Path("/users")
	@Produces(MediaType.APPLICATION_JSON)
	public List<User> getUsers() {
		if (!isDBAdmin()) {
			throwUnauthorized();
		}

		return new UserDAO().getAllDesc("dateModified", false);
	}

}