chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Potts (JIRA)" <>
Subject [jira] [Created] (CMIS-613) Empty permission sets overwriting existing permission sets
Date Sat, 15 Dec 2012 14:14:12 GMT
Jeff Potts created CMIS-613:

             Summary: Empty permission sets overwriting existing permission sets
                 Key: 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:

View raw message