IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); if (!aclVoter.allowChmod(copy)) throw new SecurityViolation("Cannot change permissions for:"+ iObject);  copy.getDetails().setPermissions(perms); iUpdate.flush();
copy[0] = iQuery.get(iObject.getClass(), iObject.getId());
			public void runAsAdmin() {				IObject copy = iQuery.get(iObject.getClass(), iObject.getId());				if (!aclVoter.allowChmod(copy))					throw new SecurityViolation("Cannot change permissions for:"+							iObject);									copy.getDetails().setPermissions(perms);				iUpdate.flush();			}