Skip to content

Commit

Permalink
zopefoundation#770 mention the doc string restriction when publishing…
Browse files Browse the repository at this point in the history
… in security chapter
  • Loading branch information
Daniel Havlik committed May 14, 2020
1 parent 3f050ff commit e90845a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/zdgbook/Security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ determine whether to allow or deny access to a visitor for a
particular object. For example, when a user visits the root
``index_html`` object of your site via HTTP, the security policy is
consulted by ``ZPublisher`` to determine whether the user has
permission to view the ``index_html`` object itself. For more
information on this topic, see the chapter on :doc:`ObjectPublishing`.
permission to view the ``index_html`` object itself.

On top of that, publisher also defines other rules to determine which
objects can be published. The most important of these is that Objects
which are published must have a docstring.

For more information on this topic, see the chapter on
:doc:`ObjectPublishing`.


How The Security Policy Relates to Restricted Code
Expand Down

0 comments on commit e90845a

Please sign in to comment.