def update_organism_permissions(self, user, organism, administrate=False,
                                    write=False, export=False, read=False):
        """
        Update the permissions of a user on a specified organism

        :type user: str
        :param user: User's email

        :type organism: str
        :param organism: organism common name

        :type administrate: bool
        :param administrate: Grants administrative privileges

        :type write: bool
        :param write: Grants write privileges

        :type read: bool
        :param read: Grants read privileges

        :type export: bool
        :param export: Grants export privileges

        :rtype: dict
        :return: a dictionary containing user's organism permissions
        """
        data = {
            'user': user,
            'organism': organism,
            'ADMINISTRATE': administrate,
            'WRITE': write,
            'EXPORT': export,
            'READ': read,
        }
        response = self.post('updateOrganismPermission', data)
        if 'permissions' in response:
            response['permissions'] = json.loads(response['permissions'])
        return response