feat: add ingore security check api by zyxxoo · Pull Request #1784 · apache/hugegraph

@zyxxoo

@github-actions

CLA Assistant Lite bot Good! All Contributors have signed the CLA.

@zyxxoo

@codecov

javeme

public static void addIgnoreCheck(String clazz) {
if (callFromGremlin()) {
throw newSecurityException(
"Not allowed to add ignore check via Gremlin");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add ignore-checked class

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this method be called when inited best, if add ignore-checked, maybe it is called on other time;

@zyxxoo

javeme

@zyxxoo

I have read the CLA Document and I hereby sign the CLA

zhoney

@zhoney zhoney deleted the tikv_security branch

March 21, 2022 06:33