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
ab188030
Commit
ab188030
authored
Jul 23, 1996
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the documentation.
parent
c9f3553a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+19
-4
No files found.
lib/python/ZPublisher/Publish.py
View file @
ab188030
...
...
@@ -125,8 +125,14 @@ Access Control
objects in a module.
If multiple objects in the URI path have '__allow_groups__'
attributes, then the effect will be that of intersecting all of the
groups.
attributes, then the '__allow_groups__' attribute from the last
object in the path that has this attribute will be used. The
'__allow_groups__' attribute for a subobject overides
'__allow_groups__' attributes for containing objects.
Note that an object may have an '__allow_groups__' attribute that is
set to None, in which case the object will be public, even if
containing objects are not.
Realms
...
...
@@ -301,6 +307,12 @@ Redirection
by raising an exception with a type and value of "Redirect" and
a string containing an absolute URI.
The default object
If no object is specified in a URI, then the publisher will try to
publish the object 'index_html', if it exists, otherwise the module
doc string will be published.
Examples
Consider the following example:
...
...
@@ -444,7 +456,7 @@ Publishing a module using the ILU Requestor (future)
o Configure the web server to call module_name@server_name with
the requestor.
$Id: Publish.py,v 1.1
0 1996/07/23 20:48:55
jfulton Exp $"""
$Id: Publish.py,v 1.1
1 1996/07/23 20:56:40
jfulton Exp $"""
#'
# Copyright
#
...
...
@@ -497,6 +509,9 @@ $Id: Publish.py,v 1.10 1996/07/23 20:48:55 jfulton Exp $"""
# (540) 371-6909
#
# $Log: Publish.py,v $
# Revision 1.11 1996/07/23 20:56:40 jfulton
# Updated the documentation.
#
# Revision 1.10 1996/07/23 20:48:55 jfulton
# Changed authorization model so that sub-object allow_groups override,
# rather than augment (tighten) parent groups.
...
...
@@ -542,7 +557,7 @@ $Id: Publish.py,v 1.10 1996/07/23 20:48:55 jfulton Exp $"""
#
#
#
__version__
=
'$Revision: 1.1
0
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.1
1
$'
[
11
:
-
2
]
def
main
():
...
...
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