[Zope-Checkins] CVS: Zope3/lib/python/Zope/Security - IChecker.py:1.1.2.11

Jim Fulton jim@zope.com
Thu, 18 Apr 2002 18:18:22 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Security
In directory cvs.zope.org:/tmp/cvs-serv3106

Modified Files:
      Tag: SecurityProxy-branch
	IChecker.py 
Log Message:
Added definition of exceptions raised to docs.


=== Zope3/lib/python/Zope/Security/IChecker.py 1.1.2.10 => 1.1.2.11 ===
     def check_getattr(ob, name):
         """Check whether attribute access is allowed.
+
+        If access is not allowed, then either
+        Zope.Exceptions.Unauthorized or Zope.Exceptions.Forbidden will
+        be raised.
         """
 
     def check_setattr(ob, name):