[Checkins] [zopefoundation/Zope] 7febc4: Implement the suggestion of @jaroel:
Michael Howitz
noreply at github.com
Fri May 10 12:32:19 CEST 2019
Branch: refs/heads/issue_397
Home: https://github.com/zopefoundation/Zope
Commit: 7febc4643d9e8920b15ed7d177dadedb037dfac0
https://github.com/zopefoundation/Zope/commit/7febc4643d9e8920b15ed7d177dadedb037dfac0
Author: Michael Howitz <mh at gocept.com>
Date: 2019-05-10 (Fri, 10 May 2019)
Changed paths:
M src/Products/Five/browser/metaconfigure.py
M src/Products/Five/browser/tests/pages.txt
M src/Products/Five/browser/tests/pages_ftest.txt
M src/Products/Five/browser/tests/test_pages.py
Log Message:
-----------
Implement the suggestion of @jaroel:
* `simple` no longer provides `IPublishTraverse`.
* Accessing an attribute the user is not allowed to now leads to HTTP-401 instead of HTTP-404 (404 came from `zope.browserpage.metaconfigure.simple`)
* In Zope 2 views did not have the possibility to call `publishTraverse` so I removed the test.
More information about the checkins
mailing list