Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
55f36ad7
Commit
55f36ad7
authored
May 02, 2010
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync w/ trunk.
parent
db053dac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
src/Products/Sessions/__init__.py
src/Products/Sessions/__init__.py
+11
-3
No files found.
src/Products/Sessions/__init__.py
View file @
55f36ad7
...
@@ -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
.
declare
Public
(
'BrowserIdManagerErr'
)
security
.
declare
ObjectPublic
(
)
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'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment