You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2011/06/21 11:20:47 UTC
[jira] [Reopened] (DIRSERVER-1625) Cannot modify a prescriptiveAci
on a subEntry
[ https://issues.apache.org/jira/browse/DIRSERVER-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Ayyagari reopened DIRSERVER-1625:
---------------------------------------
This issue exists if the user performing the modification is not an administrator
> Cannot modify a prescriptiveAci on a subEntry
> ---------------------------------------------
>
> Key: DIRSERVER-1625
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1625
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: core
> Reporter: Mike Adamson
> Assignee: Kiran Ayyagari
>
> Attempting to replace an aci on a subEntry using a user session with the following:
> ModifyRequest modifyRequest = new ModifyRequestImpl().setName(subEntryDn).replace(aciAttribute);
> session.modify(modifyRequest);
> results in a LdapSchemaViolationException
> I have tracked this down to this block of code at the bottom of the AciAuthorizationInterceptor.modify method:
> Entry modifiedEntry = modifyContext.lookup( dn, ByPassConstants.LOOKUP_BYPASS );
> tupleCache.subentryModified( dn, mods, modifiedEntry );
> groupCache.groupModified( dn, mods, entry, schemaManager );
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira