Commit 55f36ad7 authored by Tres Seaver's avatar Tres Seaver

Sync w/ trunk.

parent db053dac
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
############################################################################## ##############################################################################
""" Session initialization routines """ Session initialization routines
""" """
from Products.Sessions.interfaces import BrowserIdManagerErr #BBB
from Products.Sessions.interfaces import SessionDataManagerErr #BBB
def initialize(context): def initialize(context):
...@@ -36,6 +38,7 @@ def initialize(context): ...@@ -36,6 +38,7 @@ def initialize(context):
context.registerHelp() context.registerHelp()
context.registerHelpTitle("Zope Help") context.registerHelpTitle("Zope Help")
# do module security declarations so folks can use some of the # do module security declarations so folks can use some of the
# module-level stuff in PythonScripts # module-level stuff in PythonScripts
# #
...@@ -47,9 +50,14 @@ def initialize(context): ...@@ -47,9 +50,14 @@ def initialize(context):
security.declarePublic('Sessions') security.declarePublic('Sessions')
security.declarePublic('Transience') security.declarePublic('Transience')
security = ModuleSecurityInfo('Products.Sessions') security = ModuleSecurityInfo('Products.Sessions.interfaces')
security.declarePublic('BrowserIdManagerErr') security.declareObjectPublic()
security.declarePublic('SessionDataManagerErr') security.setDefaultAccess('allow')
security = ModuleSecurityInfo('Products.Transience') security = ModuleSecurityInfo('Products.Transience')
security.declarePublic('MaxTransientObjectsExceeded') security.declarePublic('MaxTransientObjectsExceeded')
#BBB for names which should be imported from Products.Sessions.interfaces
security = ModuleSecurityInfo('Products.Sessions')
security.declarePublic('BrowserIdManagerErr')
security.declarePublic('SessionDataManagerErr')
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