class SystemService extends BasicService {

	@GET
	@Path("/configsections")
	@Produces(MediaType.APPLICATION_JSON)
	public List<ConfigSection> getConfigSections() {
		if (!isAdmin()) {
			throwUnauthorized();
		}
		return ConfigUtil.getConfigSections(true);
	}

}