[Zope3-checkins] CVS: Zope3/src/zope/app/securitypolicy -
zopepolicy.py:1.2
Philipp von Weitershausen
philikon at philikon.de
Tue Mar 2 08:42:39 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/securitypolicy
In directory cvs.zope.org:/tmp/cvs-serv14093/app/securitypolicy
Modified Files:
zopepolicy.py
Log Message:
Reformatted docstring.
=== Zope3/src/zope/app/securitypolicy/zopepolicy.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/securitypolicy/zopepolicy.py:1.1 Fri Feb 27 07:46:31 2004
+++ Zope3/src/zope/app/securitypolicy/zopepolicy.py Tue Mar 2 08:42:39 2004
@@ -39,30 +39,27 @@
class ZopeSecurityPolicy:
-
implements(ISecurityPolicy)
def __init__(self, ownerous=True, authenticated=True):
"""
- Two optional keyword arguments may be provided:
+ Two optional keyword arguments may be provided:
+
+ ownerous -- Untrusted users can create code (e.g. Python
+ scripts or templates), so check that code owners can
+ access resources. The argument must have a truth value.
+ The default is true.
- ownerous -- Untrusted users can create code
- (e.g. Python scripts or templates),
- so check that code owners can access resources.
- The argument must have a truth value.
- The default is true.
+ authenticated -- Allow access to resources based on the
- authenticated -- Allow access to resources based on the
- privileges of the authenticated user.
- The argument must have a truth value.
- The default is true.
+ privileges of the authenticated user. The argument must
+ have a truth value. The default is true.
- This (somewhat experimental) option can be set
- to false on sites that allow only public
- (unauthenticated) access. An anticipated
- scenario is a ZEO configuration in which some
- clients allow only public access and other
- clients allow full management.
+ This (somewhat experimental) option can be set to false on
+ sites that allow only public (unauthenticated) access. An
+ anticipated scenario is a ZEO configuration in which some
+ clients allow only public access and other clients allow
+ full management.
"""
self._ownerous = ownerous
More information about the Zope3-Checkins
mailing list