diff --git a/CHANGES.rst b/CHANGES.rst index da53f0e5..9efcc5b0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,7 +6,7 @@ Changelog Incompatibilities: -- Deprecated ``plone.app.layout.globals.pattern_settings``. +- Deprecated ``plone.app.layout.globals.pattern_settings``. Moved view to ``Products.CMFPlone.patterns.view``. Deprecated also pointless interface for this view. Addresses https://github.com/plone/Products.CMFPlone/issues/1513 and goes together with https://github.com/plone/Products.CMFPlone/issues/1514. @@ -18,6 +18,9 @@ New: Fixes: +- Document byline viewlet is now displayed only to anonymous users if permited by the `Allow anyone to view 'about' information` option in the `Security Settings` of `Site Setup` (closes `CMFPlone#1556`_). + [hvelarde] + - Fix body class ``pat-markspeciallinks`` not set. Fixes #84. [thet] @@ -1708,3 +1711,4 @@ Fixes: .. _`CMFPlone#1037`: https://github.com/plone/Products.CMFPlone/issues/1037 .. _`CMFPlone#1151`: https://github.com/plone/Products.CMFPlone/issues/1151 .. _`CMFPlone#1178`: https://github.com/plone/Products.CMFPlone/issues/1178 +.. _`CMFPlone#1556`: https://github.com/plone/Products.CMFPlone/issues/1556 diff --git a/plone/app/layout/viewlets/content.py b/plone/app/layout/viewlets/content.py index dabcb602..c4aebbeb 100644 --- a/plone/app/layout/viewlets/content.py +++ b/plone/app/layout/viewlets/content.py @@ -71,7 +71,7 @@ def show(self): ISecuritySchema, prefix='plone', ) - return not self.anonymous or settings.allow_anon_views_about + return self.anonymous and settings.allow_anon_views_about def show_history(self): has_access_preview_versions_permission = _checkPermission(