directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: [jira] [Closed] (DIRSERVER-1625) Cannot modify a prescriptiveAci on a subEntry
Date Tue, 21 Jun 2011 09:45:51 GMT
On Tue, Jun 21, 2011 at 2:28 PM, Mike Adamson <mikeatdot@gmail.com> wrote:
> Hi Kiran,
>
> Unfortunately this does not fix the case of attempting to modify a
> prescriptiveAci using a userSession. This still fails on the latest trunk. I
ahhh, my earlier test case used admin session
> have made this work locally by changing the code in the
> AciAuthorizationInterceptor.modify method from:
>
>         Entry modifiedEntry = modifyContext.lookup( dn,
> ByPassConstants.LOOKUP_BYPASS );
>         tupleCache.subentryModified( dn, mods, modifiedEntry );
>         groupCache.groupModified( dn, mods, entry, schemaManager );
>
> to:
>
>         Entry modifiedEntry = modifyContext.lookup( dn,
> ByPassConstants.LOOKUP_BYPASS, "+" );
>         tupleCache.subentryModified( dn, mods, modifiedEntry );
>         groupCache.groupModified( dn, mods, entry, schemaManager );
>
> Do you want me to open this jira again?
>
I have reopened and fixed it, thanks for the details

-- 
Kiran Ayyagari

Mime
View raw message