[
https://issues.apache.org/jira/browse/JCRVLT-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921777#comment-16921777
]
Alexei Krainiouk edited comment on JCRVLT-359 at 9/4/19 12:20 AM:
------------------------------------------------------------------
[~tripod] Added [unit
tests|https://github.com/apache/jackrabbit-filevault/pull/56/commits/6fafa8afbfc4fb4d6de7262bedc7cf15f5bc30a0]
for cugHandling.
As far as I understand for CUG case
[MERGE|https://github.com/apache/jackrabbit-filevault/blob/c6a8b816a31f3347113b8a8d4eac281faf0a6d5b/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AccessControlHandling.java#L65]
and
[MERGE_PRESERVE|https://github.com/apache/jackrabbit-filevault/blob/c6a8b816a31f3347113b8a8d4eac281faf0a6d5b/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AccessControlHandling.java#L97]
are essentially the same. I.E. in both cases the resulting principal list is a
union of pre-existing principals and those that come in the package.
Please correct me if I am wrong.
was (Author: akrainiouk):
[~tripod] Added [unit
tests|https://github.com/apache/jackrabbit-filevault/pull/56/commits/6fafa8afbfc4fb4d6de7262bedc7cf15f5bc30a0]
for cugHandling.
As far as I understand for CUG case
[AccessControlHandling.MERGE|https://github.com/apache/jackrabbit-filevault/blob/c6a8b816a31f3347113b8a8d4eac281faf0a6d5b/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AccessControlHandling.java#L65]
and
[AccessControlHandling.MERGE_PRESERVE|https://github.com/apache/jackrabbit-filevault/blob/c6a8b816a31f3347113b8a8d4eac281faf0a6d5b/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/io/AccessControlHandling.java#L97]
are essentially the same. I.E. in both cases the resulting principal list is a
union of pre-existing principals and those that come in the package.
Please correct me if I am wrong.
> Provide separate option to control handling of rep:cugPolicy nodes.
> -------------------------------------------------------------------
>
> Key: JCRVLT-359
> URL: https://issues.apache.org/jira/browse/JCRVLT-359
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Components: vlt
> Affects Versions: 3.2.8
> Reporter: Alexei Krainiouk
> Priority: Major
>
> Currently handling of rep:cugPolicy nodes is controlled by aclHandling
> configuration option that equally affects ACLs and CUGs. We need to control
> them separately as for replication that is based on sling-distribution we
> need to ignore ACLs while overwriting CUGs
--
This message was sent by Atlassian Jira
(v8.3.2#803003)