[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Security
nobody@nowhere.com
nobody@nowhere.com
Thu, 05 Sep 2002 19:40:15 -0400
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Security.stx#3-75
---------------
If a base class which has already been run through
"InitializeClass" is inherited by a superclass, nothing special
needs to be done to protect the base class' methods within the
superclass unless you wish to modify the declarations made in
the base class. The security declarations "filter down" into
the superclass.
% rboylan - July 20, 2002 2:10 am:
I really hope all occurrences of "superclass" in the preceding paragraph should be "subclass", or else I'm
very confused.
% jhohm - Sep. 5, 2002 7:40 pm:
That's the trouble with "superclass" and "subclass". The author intended that "superclass" indicate the
derived class that inherits from the "subclass", so the "superclass" has features that are a superset of the
"subclass". Others tend to look at things the opposite way. I propose using "base class" and "derived class"
consistently, as they are commonly understood.