private boolean isAdminOrSuperUser(Collection<? extends GrantedAuthority> authorities) {
		return containsAuthority(authorities, "A") || containsAuthority(authorities, "S");
	}
Check if the current user is admin or super user
ngrinder-controller/src/main/java/org/ngrinder/agent/controller/AgentManagerApiController.java