Konrad Windszus created JCRVLT-512:
--------------------------------------
Summary: Add flag to allow install hooks for "application" packages
Key: JCRVLT-512
URL: https://issues.apache.org/jira/browse/JCRVLT-512
Project: Jackrabbit FileVault
Issue Type: Improvement
Reporter: Konrad Windszus
Assignee: Konrad Windszus
Fix For: 3.4.12
In some edge cases install hooks in "application" packages are useful.
It should be possible to allow them with an explicit flag which should be
evaluated at
https://github.com/apache/jackrabbit-filevault/blob/1da9796e114f1ec7fa27dfbc9bc9e15a471b27fc/vault-validation/src/main/java/org/apache/jackrabbit/vault/validation/spi/impl/PackageTypeValidator.java#L221
and
https://github.com/apache/jackrabbit-filevault/blob/1da9796e114f1ec7fa27dfbc9bc9e15a471b27fc/vault-validation/src/main/java/org/apache/jackrabbit/vault/validation/spi/impl/PackageTypeValidator.java#L310.
Such a use case is described at
https://github.com/Netcentric/accesscontroltool/blob/develop/docs/ApplyConfig.md#installation-in-aem-as-a-cloud-service.
Side note: cp2fm has a flag for explicitly removing hooks (SLING-10205)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)