Jeff Potts created CMIS-613:
-------------------------------

             Summary: 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

Reply via email to