-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Refactor IndicesPermission authorize method #88662
Refactor IndicesPermission authorize method #88662
Conversation
This commit is separating authorization check from computation of index access control. The change is simply a preparation for allowing the access control to be computed lazily.
Pinging @elastic/es-security (Team:Security) |
.../src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java
Outdated
Show resolved
Hide resolved
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.
Please address the shortcircuit suggestion, otherwise it's good to merge.
@slobodanadamovic ,actually, please do not merge until the |
…rization-performance
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.
LGTM
Separated authorization check from computation of index access control.
The change is simply a preparation for allowing the access control to be computed lazily.