[Zope3-checkins] CVS: Zope3/src/zope/security - checker.py:1.1.2.2
Jim Fulton
jim@zope.com
Tue, 24 Dec 2002 07:52:00 -0500
Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv1158/src/zope/security
Modified Files:
Tag: NameGeddon-branch
checker.py
Log Message:
Searched for and changed over 1200 references to Zope.something.
Most of these were either comments, doc strings, or permission ids.
Many were imports or ids in zcml. (much zcml fixup is still needed.
=== Zope3/src/zope/security/checker.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/security/checker.py:1.1.2.1 Mon Dec 23 14:33:15 2002
+++ Zope3/src/zope/security/checker.py Tue Dec 24 07:51:29 2002
@@ -88,16 +88,12 @@
"""
return self._setattr_permission_func(name)
- ############################################################
- # Implementation methods for interface
- # Zope.Security.IChecker.
-
def check_getattr(self, object, name):
- 'See Zope.Security.IChecker.IChecker'
+ 'See IChecker'
self.check(object, name)
def check_setattr(self, object, name):
- 'See Zope.Security.IChecker.IChecker'
+ 'See IChecker'
if WATCH_CHECKERS:
print >> sys.stderr, ('Checking %r.%s:' % (object, name)),
@@ -125,7 +121,7 @@
raise ForbiddenAttribute(name)
def check(self, object, name):
- 'See Zope.Security.IChecker.IChecker'
+ 'See IChecker'
if WATCH_CHECKERS:
print >> sys.stderr, ('Checking %r.%s:' % (object, name)),
@@ -157,7 +153,7 @@
raise ForbiddenAttribute(name)
def proxy(self, value):
- 'See Zope.Security.IChecker.IChecker'
+ 'See IChecker'
# Now we need to create a proxy
checker = getattr(value, '__Security_checker__', None)
@@ -167,9 +163,6 @@
return value
return Proxy(value, checker)
-
- #
- ############################################################
def NamesChecker(names=(), permission_id=CheckerPublic, **__kw__):
"""Return a checker that grants access to a set of names.