-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[bugfix] security: fix check grant god when FLAGS_enable_authorize is… #4840
Conversation
ab894cb
to
756f0ca
Compare
Plz add test case. |
Is there a way to set FLAGS_enable_authorize when run TCK? |
Could disable one runner, https://github.com/vesoft-inc/nebula/blob/master/tests/common/nebula_service.py |
OK, let me try it |
@MegaByte875 Please verify this change won't affect any current behavior in cloud products. |
@Aiee It's ok, no problem. |
God role should not be granted when enable_authorize is false
2 check was lift up before the FLAGS_enable_authorize check
Not sure if auth_type cloud should also do this, comment if you know
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
fix #4684
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:
Checklist:
Tests:
Affects:
Release notes:
Please confirm whether to be reflected in release notes and how to describe: