Commit 7a80f8b8 authored by Jérome Perrin's avatar Jérome Perrin

Python implementation of accesscontrol requires

__allow_access_to_unprotected_subobjects__ to be an integer



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30198 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6f854554
...@@ -39,7 +39,7 @@ class VirtualNode(object): ...@@ -39,7 +39,7 @@ class VirtualNode(object):
This virtual document can be used in budget variations. This virtual document can be used in budget variations.
""" """
__allow_access_to_unprotected_subobjects__ = True __allow_access_to_unprotected_subobjects__ = 1
def __init__(self, relative_url): def __init__(self, relative_url):
"""The Virtual Node will use the relative URL of the budget line for """The Virtual Node will use the relative URL of the budget line for
memberships. memberships.
......
...@@ -38,7 +38,7 @@ import threading ...@@ -38,7 +38,7 @@ import threading
class SOAPWSDLException(Exception): class SOAPWSDLException(Exception):
__allow_access_to_unprotected_subobjects__ = True __allow_access_to_unprotected_subobjects__ = 1
def __init__(self, code, name, info): def __init__(self, code, name, info):
self.code = code self.code = code
...@@ -115,7 +115,7 @@ allow_class(HeaderAuthentication) ...@@ -115,7 +115,7 @@ allow_class(HeaderAuthentication)
class WSDLConnection(object): class WSDLConnection(object):
__allow_access_to_unprotected_subobjects__ = True __allow_access_to_unprotected_subobjects__ = 1
def __init__(self, wsdl, credentials, service): def __init__(self, wsdl, credentials, service):
self._wsdl = wsdl self._wsdl = wsdl
...@@ -138,7 +138,7 @@ class WSDLConnection(object): ...@@ -138,7 +138,7 @@ class WSDLConnection(object):
class PortWrapper(object): class PortWrapper(object):
__allow_access_to_unprotected_subobjects__ = True __allow_access_to_unprotected_subobjects__ = 1
def __init__(self, port): def __init__(self, port):
self._port = port self._port = port
...@@ -148,7 +148,7 @@ class PortWrapper(object): ...@@ -148,7 +148,7 @@ class PortWrapper(object):
class MethodWrapper(object): class MethodWrapper(object):
__allow_access_to_unprotected_subobjects__ = True __allow_access_to_unprotected_subobjects__ = 1
def __init__(self, method): def __init__(self, method):
self._method = method self._method = method
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment