[ https://issues.apache.org/jira/browse/IGNITE-9454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662510#comment-16662510 ]
ASF GitHub Bot commented on IGNITE-9454: ---------------------------------------- GitHub user alamar opened a pull request: https://github.com/apache/ignite/pull/5066 IGNITE-9454 Support CACHE_CREATE, CACHE_DESTROY, JOIN_AS_SERVER permi… …ssions in SecurityPermissionSetBuilder. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-9454 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/5066.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 #5066 ---- commit 2302baf78fb1d2700b81c29140bf730588cbc05a Author: Ilya Kasnacheev <ilya.kasnacheev@...> Date: 2018-10-24T16:36:15Z IGNITE-9454 Support CACHE_CREATE, CACHE_DESTROY, JOIN_AS_SERVER permissions in SecurityPermissionSetBuilder. ---- > 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: Alexey Kukushkin > 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)