Users other than admin cannot access resources
----------------------------------------------
Key: SLING-1226
URL: https://issues.apache.org/jira/browse/SLING-1226
Project: Sling
Issue Type: Bug
Components: Launchpad
Environment: ApacheSling/2.0 (Java HotSpot(TM) Client VM 1.6.0_12;
Linux 2.6.18 i386)
Reporter: Peter Chiochetti
Very likely since the fix in SLING-1134 users other than admin can no longer
login on my server. In the browser I see this:
HTTP ERROR 500 Problem accessing /. Reason: SlingAuthenticator: data access
error, reason=RepositoryException
Stdout of the launchpad says this:
07.12.2009 15:48:39.973 *WARN* [29229...@qtp-5924809-20]
org.apache.jackrabbit.core.ItemManager property at
/rep:policy/allow0/rep:privileges has invalid definitionId (-314943844)
07.12.2009 15:48:39.973 *ERROR* [29229...@qtp-5924809-20]
org.apache.jackrabbit.core.DefaultSecurityManager Failed to instantiate
AccessManager
(org.apache.sling.jcr.jackrabbit.server.impl.security.PluggableDefaultAccessManager)
javax.jcr.nodetype.ConstraintViolationException: no matching property
definition found for {internal}privileges
at
org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:768)
at
org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:905)
at
org.apache.jackrabbit.core.ItemManager.getDefinition(ItemManager.java:198)
at
org.apache.jackrabbit.core.ItemManager.createItemData(ItemManager.java:715)
at
org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:313)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:250)
at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:515)
at org.apache.jackrabbit.core.NodeImpl.getProperty(NodeImpl.java:1558)
at
org.apache.jackrabbit.core.security.authorization.acl.ACLTemplate.collectEntries(ACLTemplate.java:196)
...
I looked (as admin) at /system/userManager/user/admin.html and
/system/userManager/user/Peter.html but cannot see a difference. I tried to
look at the permissions /index.acl.html or index.ace.html but that fails with
ReferenceError: "currentNode" is not defined.
(/apps/sling/servlet/default/acl.html.esp#3) (500)
The requested URL /index.acl.html resulted in an error in
/apps/sling/servlet/default/acl.html.esp.
Exception:
org.mozilla.javascript.EcmaError: ReferenceError: "currentNode" is not defined.
(/apps/sling/servlet/default/acl.html.esp#3)
A week or so ago, login worked, and I think I got a screen with lots of
checkboxes at xy.acl.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.