You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2013/04/05 17:39:15 UTC

[jira] [Resolved] (OAK-704) TreeImpl#canRead: pass ImmutableTree to permission provider

     [ https://issues.apache.org/jira/browse/OAK-704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved OAK-704.
------------------------

    Resolution: Duplicate

resolving as duplicate of OAK-709. an initial/intermediate version 
that passes the immutable tree to the permission evaluation machinery has
been committed at Revision: 1465011

                
> TreeImpl#canRead: pass ImmutableTree to permission provider
> -----------------------------------------------------------
>
>                 Key: OAK-704
>                 URL: https://issues.apache.org/jira/browse/OAK-704
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core
>            Reporter: angela
>
> subtask for addressing the FIXME at lines 568 and 574 of TreeImpl:
> the permission evaluation needs full access to the tree being passed.
> possible solutions:
> - keep/generate immutabletree for the tree to be checked for read-access
> - split tree implementation
> - move down read-access check to the node state level such as proposed by
>   jukka (which however would require some further refactoring on that level)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira