jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCRVLT-227) Import fail if user does not have access to the root path
Date Thu, 09 Nov 2017 01:53:01 GMT

    [ https://issues.apache.org/jira/browse/JCRVLT-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245098#comment-16245098

Tobias Bocanegra commented on JCRVLT-227:

[~marett] thanks for the patch. looks good for me so far. But it only fixes the problem if
the importer is used directly, but not when extracting a package via the package manager api.
I will try to add this as well.

> Import fail if user does not have access to the root path
> ---------------------------------------------------------
>                 Key: JCRVLT-227
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-227
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: vlt
>    Affects Versions: 3.1.40
>            Reporter: Timothee Maret
>            Assignee: Tobias Bocanegra
>             Fix For: 3.1.42
> The current method to import
> {code}
> org.apache.jackrabbit.vault.fs.io.Importer#run(archive,importRoot)
> {code}
> does require the importRoot node.
> In some setups, the session doing the import does not have access to the importRoot,
due to ACLs (the importRoot does exist). With those setups, the current implementation of
the {{run}} method throws a {{javax.jcr.AccessDeniedException}} exception.

This message was sent by Atlassian JIRA

View raw message