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

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
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.

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.