[ 
https://issues.apache.org/jira/browse/OAK-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625381#comment-13625381
 ] 

Jukka Zitting commented on OAK-708:
-----------------------------------

Whoa, that's a lot of scaffolding for a simple test!

I'd rather implement the test case either as:

* a unit test with a mock PermissionProvider, or
* an integration test that uses the normal Oak or JCR API to set the 
permissions to be evaluated.
                
> SecureNodeState#getChildNodeCount and #getPropertyCount: don't respect read 
> permissions
> ---------------------------------------------------------------------------------------
>
>                 Key: OAK-708
>                 URL: https://issues.apache.org/jira/browse/OAK-708
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core, jcr
>            Reporter: angela
>         Attachments: OAK-708-patch.txt, OAK-708-patch.txt, 
> OAK-708-test-patch.txt
>
>


--
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

Reply via email to