directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Adamson <mikeat...@gmail.com>
Subject Re: [jira] [Closed] (DIRSERVER-1625) Cannot modify a prescriptiveAci on a subEntry
Date Tue, 21 Jun 2011 10:26:08 GMT
I've tested it here and it's fixed my test.

Thanks,

MikeA

On 21 June 2011 10:45, Kiran Ayyagari <kayyagari@apache.org> wrote:

> 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