ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Kasnacheev (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9454) SecurityPermissionSetBuilder fails to append system permission CACHE_CREATE
Date Thu, 25 Oct 2018 12:09:00 GMT

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

Ilya Kasnacheev commented on IGNITE-9454:
-----------------------------------------

[~kukushal] please review proposed fix.

> SecurityPermissionSetBuilder fails to append system permission CACHE_CREATE
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-9454
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9454
>             Project: Ignite
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.5
>            Reporter: Alexey Kukushkin
>            Assignee: Ilya Kasnacheev
>            Priority: Major
>              Labels: easyfix
>
> SecurityPermissionSetBuilder fails to append system permission CACHE_CREATE, CACHE_DESTROY
and JOIN_AS_SERVER
> +*Reproducer*+:
> SecurityPermissionSetBuilder.create().appendSystemPermission(SecurityPermission.CACHE_CREATE)
> The code above throw IgniteException saying that a security permission name should begin
with either EVENTS_ or ADMIN_
> *+Solution+:*
> Update SecurityPermissionSetBuilder to:
>  # allow system permissions CACHE_CREATE, CACHE_DESTROY and JOIN_AS_SERVER
>  # restrict cache presmissions CACHE_CREATE, CACHE_DESTROY
>  # add automated tests
>  



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

Mime
View raw message