[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Zope Services

webmaster at zope.org webmaster at zope.org
Mon Dec 15 13:28:58 EST 2003

A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ZopeServices.stx#2-0


    *Access Rules* make it possible to cause an action to happen any
    time a user "traverses" a Folder in your Zope site.  When a user's
    browser submits a request for a URL to Zope which has a Folder's
    name in it, the Folder is "looked up" by Zope during object
    publishing.  That action (the lookup) is called *traversal*.
    Access Rules are arbitrary bits of code which effect the
    environment in some way during Folder traversal.  They are easiest
    to explain by way of an example.

      % Anonymous User - Dec. 15, 2003 1:28 pm:
       The Access Service section needs an explanation of how to suppress an access rule. For the baffled among us,
       you can set an environmental
       variable 'SUPPRESS_ACCESSRULE' ( I add a line in my 'start' script to
       do this ) or include '_SUPPRESS_ACCESSRULE' to the URL at a point AFTER
       the folder/container in question.

       SITEROOT works the same way, just replace ACCESSRULE with SITEROOT in
       the above explanation.

More information about the ZDP mailing list