[ 
https://issues.apache.org/jira/browse/IGNITE-9475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604417#comment-16604417
 ] 

ASF GitHub Bot commented on IGNITE-9475:
----------------------------------------

GitHub user ibessonov opened a pull request:

    https://github.com/apache/ignite/pull/4688

    IGNITE-9475 Use proper task class name for the error message

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-9475

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/4688.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4688
    
----
commit f394e19b55d4e1be47ac65f0fa313d01b8abc1cd
Author: ibessonov <bessonov.ip@...>
Date:   2018-09-05T13:46:21Z

    IGNITE-9475 Use proper task class name for the error message

----


> Closures that has been created on client does not provide real class name to 
> TASK_* permissions
> -----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-9475
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9475
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Bessonov
>            Assignee: Ivan Bessonov
>            Priority: Major
>
> Broadcast job for example get 
> org.apache.ignite.internal.processors.closure.GridClosureProcessor$T6 task 
> name.
> This combination of java + xml config
> {code:java}
> ignite.compute(ignite.cluster().forServers()).broadcast(new 
> DistributedJob(cacheName));
> {code}
> {code:java}
>                                                        {
>                                                            
> task:'org.apache.ignite.piclient.operations.DistributedChecksumOperation$DistributedJob',
>                                                            
> permissions:[TASK_EXECUTE]
>                                                        },
> {code}
> provides following error
> {code:java}
> Authorization failed [perm=TASK_EXECUTE, 
> name=org.apache.ignite.internal.processors.closure.GridClosureProcessor$T6, 
> ... ]
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to