chemistry-dev mailing list archives

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

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

Jeff Potts resolved CMIS-613.
-----------------------------

    Resolution: Fixed

This is fixed in 0.5.1.
                
> 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

Mime
View raw message