You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/10/02 11:19:24 UTC
[jira] [Resolved] (SLING-3063) Anonymous user cannot read content
on Oak
[ 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)