-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add ingore security check api #1784
Conversation
CLA Assistant Lite bot Good! All Contributors have signed the CLA. |
Codecov Report
@@ Coverage Diff @@
## master #1784 +/- ##
============================================
+ Coverage 66.86% 70.83% +3.96%
- Complexity 970 976 +6
============================================
Files 443 446 +3
Lines 37749 37809 +60
Branches 5384 5393 +9
============================================
+ Hits 25241 26782 +1541
+ Misses 9784 8299 -1485
- Partials 2724 2728 +4
Continue to review full report at Codecov.
|
hugegraph-core/src/main/java/com/baidu/hugegraph/security/HugeSecurityManager.java
Outdated
Show resolved
Hide resolved
hugegraph-core/src/main/java/com/baidu/hugegraph/security/HugeSecurityManager.java
Outdated
Show resolved
Hide resolved
public static void addIgnoreCheck(String clazz) { | ||
if (callFromGremlin()) { | ||
throw newSecurityException( | ||
"Not allowed to add ignore check via Gremlin"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add ignore-checked class
There was a problem hiding this comment.
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;
hugegraph-core/src/main/java/com/baidu/hugegraph/security/HugeSecurityManager.java
Outdated
Show resolved
Hide resolved
I have read the CLA Document and I hereby sign the CLA |
No description provided.