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

Marcel Reutegger updated JCR-1849:
----------------------------------

    Attachment: jackrabbit-core.patch

Proposed patch for jackrabbit-core.

I opened up one of the methods in AbstractJournal. The method getRecords(long) 
is now public and has been moved to the interface Journal. I also added a 
method getRecords() without parameters, which allows one to walk the whole 
journal.

An event journal can only be obtained by a session that contains the 
AdminPrincipal. Regular access right checks seems inappropriate because there 
are cases where lots of additional information would be required. E.g. consider 
a newly created user. Does he have access to past events? How do you find out 
which events were created before the user was created? etc.

> EventJournal
> ------------
>
>                 Key: JCR-1849
>                 URL: https://issues.apache.org/jira/browse/JCR-1849
>             Project: Jackrabbit
>          Issue Type: Sub-task
>          Components: jackrabbit-core, JCR 2.0
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: jackrabbit-api.patch, jackrabbit-core.patch
>
>
> Implement the event journal as specified in JSR 283.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to