You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (Jira)" <ji...@apache.org> on 2021/01/21 20:55:00 UTC

[jira] [Updated] (DIRSTUDIO-1135) ACI Source is corrupted on 2nd edit

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-1135:
---------------------------------------
    Description: 
When creating a prescriptiveACI using the editor.  It works correctly the first time.  

However, when you double-click the created ACI to edit User permissions attribute values will contain attributeType( xxxx ) which is incorrect (throws syntax error).

Repro steps:
* create AccessControlSubEntry(prescriptiveACI)
* add User Permissions such as:

{noformat}
        userPermissions 
        {
            {
                protectedItems 
                {
                    allAttributeValues 
                    {
                        objectClass,
                        publicKey,
                   }
               }
          }
{noformat}


* ACI item editor->OK
* New Entry->Finish
=== ACI Is Created ===
* double-click newly created ACI
* edit User Permissions
* All Attribute Values will show a syntax error (source will be correct)


This can be mitigated by editing the source directly from the ACI editor (without using the UI to edit User Permissions)

  was:
When creating a prescriptiveACI using the editor.  It works correctly the first time.  

However, when you double-click the created ACI to edit User permissions attribute values will contain attributeType( xxxx ) which is incorrect (throws syntax error).

Repro steps:
* create AccessControlSubEntry(prescriptiveACI)
* add User Permissions such as:
        userPermissions 
        {
            {
                protectedItems 
                {
                    allAttributeValues 
                    {
                        objectClass,
                        publicKey,
                   }
               }
          }

* ACI item editor->OK
* New Entry->Finish
=== ACI Is Created ===
* double-click newly created ACI
* edit User Permissions
* All Attribute Values will show a syntax error (source will be correct)


This can be mitigated by editing the source directly from the ACI editor (without using the UI to edit User Permissions)


> ACI Source is corrupted on 2nd edit
> -----------------------------------
>
>                 Key: DIRSTUDIO-1135
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1135
>             Project: Directory Studio
>          Issue Type: Bug
>         Environment: ApacheStudio on Windows 7 x64
> ApacheDS on Ubuntu
>            Reporter: Lamar Hansford
>            Priority: Minor
>
> When creating a prescriptiveACI using the editor.  It works correctly the first time.  
> However, when you double-click the created ACI to edit User permissions attribute values will contain attributeType( xxxx ) which is incorrect (throws syntax error).
> Repro steps:
> * create AccessControlSubEntry(prescriptiveACI)
> * add User Permissions such as:
> {noformat}
>         userPermissions 
>         {
>             {
>                 protectedItems 
>                 {
>                     allAttributeValues 
>                     {
>                         objectClass,
>                         publicKey,
>                    }
>                }
>           }
> {noformat}
> * ACI item editor->OK
> * New Entry->Finish
> === ACI Is Created ===
> * double-click newly created ACI
> * edit User Permissions
> * All Attribute Values will show a syntax error (source will be correct)
> This can be mitigated by editing the source directly from the ACI editor (without using the UI to edit User Permissions)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org