On 3 Dec 2009, at 15:34, Felix Meschberger wrote:

Hi,

Christophe Lombart schrieb:
The access manager bundle is still using Jackrabbit API 1.5. Maybe it is
related to that.

I fear, this is not the reason, because there was AFAICT no influential
API change between 1.5 and 1.6 ....

But there have probably been changes under the hood (since access
control was a heavily moving target at those times).

The ModifyAce servlet and my code are nearly identical in this area, both using AccessControlUtils.

AFAICT, the AccessControlUtils are from sling jcr base, which in my build is at 2.0.4-incubator.

The launchpad bundles appears to be using this version although the version in head is 2.0.5-SNAPSHOT.

I'll do some more investigation.

Ian




Regards
Felix


Christophe


2009/12/3 Felix Meschberger <[email protected]>

Not that I would know of, but we have an issue currently (after
upgrading to JR 1.6) with the an integration test failure in the
accessmanager bundle. [1]

This might be related.

Regards
Felix

[1] https://issues.apache.org/jira/browse/SLING-1208

Ian Boston schrieb:
Is there an outstanding bug in  AccessControlUtil.addEntry( at the
moment.
I am getting

03.12.2009 14:46:13.575 *ERROR* [SCR Component Actor]
org.sakaiproject.kernel.securityloader.Loader Cannot load security
content for bundle org.sakaiproject.kernel.personal : no matching
property definition found for {internal}privileges
javax.jcr.nodetype.ConstraintViolationException: no matching property
definition found for {internal}privileges

when setting an ACL after editing it with AccessControlUtil.addEntry(...)

Ian



Reply via email to