Products.CMFPlone/fgrcon-fix-1570: fix role map for `Show Toolbar Permission`

Franz Gerhard Reinisch <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: Products.CMFPlone
Branch: refs/heads/fgrcon-fix-1570
Date: 2017-07-20T12:24:20+02:00
Author: Franz Gerhard Reinisch (fgrcon) <[email protected]>
Commit: https://github.com/plone/Products.CMFPlone/commit/a548c48f1b675c1543f31d68f1422e60125ccae6

fix role map for `Show Toolbar Permission`
  see end of discussion of https://github.com/plone/Products.CMFPlone/issues/1570

Files changed:
M CHANGES.rst
M Products/CMFPlone/profiles/default/rolemap.xml

diff --git a/CHANGES.rst b/CHANGES.rst
index 1891a1a7a..d1879d83b 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -19,6 +19,10 @@ New features:
 
 Bug fixes:
 
+- fix role map for `Show Toolbar Permission` 
+  see end of discussion of https://github.com/plone/Products.CMFPlone/issues/1570
+  [fgrcon]
+
 - add :focus class on toolbar for keyboard users  (https://github.com/plone/Products.CMFPlone/issues/1620)
   [polyester]
 
diff --git a/Products/CMFPlone/profiles/default/rolemap.xml b/Products/CMFPlone/profiles/default/rolemap.xml
index 88b9f109c..456f95f7f 100644
--- a/Products/CMFPlone/profiles/default/rolemap.xml
+++ b/Products/CMFPlone/profiles/default/rolemap.xml
@@ -219,7 +219,12 @@
     </permission>
     <permission name="Show Toolbar"
                 acquire="False">
-      <role name="Authenticated"/>
+        <role name="Manager"/>
+        <role name="Site Administrator"/>
+        <role name="Owner"/>
+        <role name="Reviewer"/>
+        <role name="Editor" />
+        <role name="Contributor" />
     </permission>
   </permissions>
 </rolemap>



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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.