You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2021/01/31 19:39:25 UTC

[jackrabbit-filevault] branch master updated: JCRVLT-492 document user limitation for executing install hooks

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git


The following commit(s) were added to refs/heads/master by this push:
     new 3876716  JCRVLT-492 document user limitation for executing install hooks
3876716 is described below

commit 387671648a1d29463c6afaab31f9a1a4d19b3d19
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Sun Jan 31 20:39:10 2021 +0100

    JCRVLT-492 document user limitation for executing install hooks
---
 vault-doc/src/site/markdown/installhooks.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vault-doc/src/site/markdown/installhooks.md b/vault-doc/src/site/markdown/installhooks.md
index a1c9f61..a9326e7 100644
--- a/vault-doc/src/site/markdown/installhooks.md
+++ b/vault-doc/src/site/markdown/installhooks.md
@@ -24,6 +24,8 @@ Install hooks are just Java classes which are called during package installation
 
 Install hooks must implement the interface [`org.apache.jackrabbit.vault.packaging.InstallHook`][api.InstallHook].
 
+Execution of install hooks is only allowed for certain users. Prior to FileVault 3.4.6 this was only possible for users `admin`, `system` or members of group `administrators`, in newer versions the allowed user ids are configurable via OSGi configuration with PID `org.apache.jackrabbit.vault.packaging.impl.PackagingImpl` ([JCRVLT-427](https://issues.apache.org/jira/browse/JCRVLT-427)). Installation of packages containing install hooks for other users lead to a `PackageException`.
+
 
 Internal Install Hooks
 ------