adobe / adobe/aemanalyser-maven-plugin

RepoInit analyser does not recognize `crx:replicate` privilege

Open
#354 7 comments 0 reactions 1 assignee Claimed by @niekraaijmakers View on GitHub
Dominant language
Java
Stars
30
Forks
25
Avg merge
1d 10h
Merged PRs (30d)
2

Description

When using some repoinit containing the privilege `crx:replicate` the following (incorrect) error is being emitted when enabling the repoinit analyser being added with https://github.com/adobe/aemanalyser-maven-plugin/pull/352:

```
Repoinit execution validation failed: Failed to set ACL (javax.jcr.security.AccessControlException: Invalid privilege name contained in [crx:replicate, jcr:read, jcr:versionManagement, rep:write]) AclLine ALLOW {paths=[/etc/packages], privileges=[jcr:read, jcr:versionManagement, rep:write, crx:replicate]}
```

This happens for example in https://github.com/Adobe-Consulting-Services/acs-aem-commons/actions/runs/27088576858/job/79947755251?pr=3768. Also the exception message does not reveal which config file contains the invalid repoinit statement.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.