[
https://issues.apache.org/jira/browse/SLING-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz resolved SLING-3063.
----------------------------------------
Resolution: Fixed
Fixed in revision 1528391 by granting anonymous read access on / as per
OAK-1016.
> Anonymous user cannot read content on Oak
> -----------------------------------------
>
> Key: SLING-3063
> URL: https://issues.apache.org/jira/browse/SLING-3063
> Project: Sling
> Issue Type: Bug
> Components: Oak
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> Just added a test to SlingRepositoryITBase ( http://svn.apache.org/r1522943 )
> which works on Jackrabbit and fails on Oak:
> final String path = assertCreateRetrieveNode(null); // returns path
> of a new node
> final Session s = repository.login();
> try {
> assertTrue("Expecting anonymous to see " + path,
> s.itemExists(path));
> final Node n = s.getNode(path);
> assertEquals("Expecting anonymous to see the foo property", path,
> n.getProperty("foo").getString());
> } finally {
> s.logout();
> }
--
This message was sent by Atlassian JIRA
(v6.1#6144)