[
https://issues.apache.org/jira/browse/OAK-8020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella updated OAK-8020:
----------------------------------
Fix Version/s: (was: 1.11.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)