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):
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):
"""The Virtual Node will use the relative URL of the budget line for
memberships.
......
......@@ -38,7 +38,7 @@ import threading
class SOAPWSDLException(Exception):
__allow_access_to_unprotected_subobjects__ = True
__allow_access_to_unprotected_subobjects__ = 1
def __init__(self, code, name, info):
self.code = code
......@@ -115,7 +115,7 @@ allow_class(HeaderAuthentication)
class WSDLConnection(object):
__allow_access_to_unprotected_subobjects__ = True
__allow_access_to_unprotected_subobjects__ = 1
def __init__(self, wsdl, credentials, service):
self._wsdl = wsdl
......@@ -138,7 +138,7 @@ class WSDLConnection(object):
class PortWrapper(object):
__allow_access_to_unprotected_subobjects__ = True
__allow_access_to_unprotected_subobjects__ = 1
def __init__(self, port):
self._port = port
......@@ -148,7 +148,7 @@ class PortWrapper(object):
class MethodWrapper(object):
__allow_access_to_unprotected_subobjects__ = True
__allow_access_to_unprotected_subobjects__ = 1
def __init__(self, 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