You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Valentin Kulichenko (JIRA)" <ji...@apache.org> on 2017/04/25 14:26:04 UTC

[jira] [Created] (IGNITE-5081) SecurityPermissionSetBuilder duplicates permission if it's appended more than once

Valentin Kulichenko created IGNITE-5081:
-------------------------------------------

             Summary: SecurityPermissionSetBuilder duplicates permission if it's appended more than once
                 Key: IGNITE-5081
                 URL: https://issues.apache.org/jira/browse/IGNITE-5081
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 1.9
            Reporter: Valentin Kulichenko
            Assignee: Valentin Kulichenko
             Fix For: 2.1


If the same permission is appended to builder more than once, builder duplicates it in the resulting collection. This doesn't actually break anything, but seems to be redundant.

Example:
{code}
new SecurityPermissionSetBuilder()
    .appendSystemPermissions(ADMIN_VIEW)
    .appendSystemPermissions(ADMIN_VIEW, ADMIN_QUERY)
    .build();
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)