jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1466134 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
Date Tue, 09 Apr 2013 17:09:53 GMT
Author: mduerig
Date: Tue Apr  9 17:09:53 2013
New Revision: 1466134

URL: http://svn.apache.org/r1466134
Log:
OAK-709: Consider moving permission evaluation to the node state level
getLatestRoot should not include transient changes in its index provider

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java?rev=1466134&r1=1466133&r2=1466134&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/core/RootImpl.java
Tue Apr  9 17:09:53 2013
@@ -161,8 +161,7 @@ public class RootImpl implements Root {
      */
     public Root getLatest() {
         checkLive();
-        // FIXME clarify: getIndexProvider includes transient changes from this root. Is
this intended?
-        RootImpl root = new RootImpl(store, hook, workspaceName, subject, securityProvider,
getIndexProvider()) {
+        RootImpl root = new RootImpl(store, hook, workspaceName, subject, securityProvider,
indexProvider) {
             @Override
             protected void checkLive() {
                 RootImpl.this.checkLive();



Mime
View raw message