You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2012/07/19 15:27:33 UTC

[jira] [Commented] (OAK-160) Make oak interfaces permission aware

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

angela commented on OAK-160:
----------------------------

Revision: 1363328
Similar to OAK-192, OAK-194, OAK-195 adjusted the following access methods in the Tree interface method:

- getPropertyStatus
- getPropertyCount
- getProperties

- hasChild
- getChild
- getChildrenCount
- getChildren


                
> Make oak interfaces permission aware
> ------------------------------------
>
>                 Key: OAK-160
>                 URL: https://issues.apache.org/jira/browse/OAK-160
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: angela
>            Priority: Minor
>
> the interfaces defined in oak-core specify in some placed that the return
> value will be null/false if the corresponding tree/property etc. does not
> exist.
> imo the api documentation should be extended state that this may also be the
> case if the corresponding tree/property was not accessible to the editing content
> session due to insufficient access permission.
> this basically affects all methods on the Root and Tree interfaces including
> Tree#getParent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira