jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-8020) Create ImmutableACL from another AbstractAccessControlList
Date Mon, 15 Apr 2019 09:20:08 GMT

     [ https://issues.apache.org/jira/browse/OAK-8020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davide Giannella closed OAK-8020.
---------------------------------

bulk close 1.12.0

> Create ImmutableACL from another AbstractAccessControlList
> ----------------------------------------------------------
>
>                 Key: OAK-8020
>                 URL: https://issues.apache.org/jira/browse/OAK-8020
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: security-spi
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 1.12.0
>
>
> in order to make an existing {{AbstractAccessControlList}} immutable it would be handy
to have a separate constructor like e.g. the following:
> {code}
> public ImmutableACL(@NotNull AbstractAccessControlList accessControlList) {
>         this(accessControlList.getOakPath(), accessControlList.getEntries(), accessControlList.getRestrictionProvider(),
accessControlList.getNamePathMapper());
>     }
> {code}
> [~stillalex], fyi



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

Mime
View raw message