SomeFire commented on a change in pull request #8266:
URL: https://github.com/apache/ignite/pull/8266#discussion_r566760854
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/closure/GridClosureProcessor.java
##########
@@ -960,9 +962,11 @@ public void runLocalWithThreadPolicy(IgniteThread thread,
Runnable c) {
final GridWorkerFuture<R> fut = new GridWorkerFuture<>();
+ final SecurityContext secCtx = ctx.security().securityContext();
Review comment:
No, it will be executed in current context, which we give to worker. So,
in case of reject we already have proper context.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]