You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jeff Potts (JIRA)" <ji...@apache.org> on 2012/12/15 15:14:12 UTC

[jira] [Closed] (CMIS-613) Empty permission sets overwriting existing permission sets

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

Jeff Potts closed CMIS-613.
---------------------------

    
> Empty permission sets overwriting existing permission sets
> ----------------------------------------------------------
>
>                 Key: CMIS-613
>                 URL: https://issues.apache.org/jira/browse/CMIS-613
>             Project: Chemistry
>          Issue Type: Bug
>          Components: python-cmislib
>    Affects Versions: cmislib 0.5
>            Reporter: Jeff Potts
>            Assignee: Jeff Potts
>
> A server (Alfresco) was returning multiple permission sets for the same authority--one was empty. cmislib returns permissions as a dictionary keyed off of the authority. So when it saw the second empty set, it added it to the dictionary, obliterating the set already stored in the dictionary. The fix is to check the permission set to see if it is empty, and if it is not, do not add it to the dictionary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira