[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/ Fixed typeos and
added some explination for a part that initially confused me.
Benji York
benji at zope.com
Thu Dec 23 16:30:21 EST 2004
Log message for revision 28696:
Fixed typeos and added some explination for a part that initially confused me.
Changed:
U Zope3/trunk/src/zope/app/pau/README.txt
U Zope3/trunk/src/zope/app/securitypolicy/zopepolicy.txt
-=-
Modified: Zope3/trunk/src/zope/app/pau/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/pau/README.txt 2004-12-23 21:24:35 UTC (rev 28695)
+++ Zope3/trunk/src/zope/app/pau/README.txt 2004-12-23 21:30:21 UTC (rev 28696)
@@ -123,8 +123,8 @@
Principal('42', '')
In addition to getting a principal, an `IPAUPrincipalCreated` event will
-have been generated. We'll use an the testing event logging API to
-see that this is the case:
+have been generated. We'll use the testing event logging API to see that
+this is the case:
>>> from zope.app.event.tests.placelesssetup import getEvents, clearEvents
@@ -478,7 +478,7 @@
During authentication, extraction and authentication plugins can raise
an 'Unauthorized' exception to indicate that a challenge should be
-issued immediately. They might do this if the recognize partial
+issued immediately. They might do this if they recognize partial
credentials that pertain to them.
PAU prefixes
Modified: Zope3/trunk/src/zope/app/securitypolicy/zopepolicy.txt
===================================================================
--- Zope3/trunk/src/zope/app/securitypolicy/zopepolicy.txt 2004-12-23 21:24:35 UTC (rev 28695)
+++ Zope3/trunk/src/zope/app/securitypolicy/zopepolicy.txt 2004-12-23 21:30:21 UTC (rev 28696)
@@ -82,7 +82,8 @@
True
We make grants and denials on objects by adaping them to various
-granting interfaces:
+granting interfaces. The objects returned from the adaptation are
+object-specific manager objects:
>>> from zope.app.securitypolicy import interfaces
>>> roleper = interfaces.IRolePermissionManager(ob)
@@ -95,7 +96,7 @@
adapters for making grants will automatically invalidate the cache of
the current interaction. They use the security-management apis to do
this. To take advantage of the cache invalidation, we'll need to let
-the security-management system manage out interactions. First, we'll
+the security-management system manage our interactions. First, we'll
set our security policy as the default:
>>> import zope.security.management
More information about the Zope3-Checkins
mailing list