Products.CMFPlone/master: Added Show Toolbar permission.

Peter Holzer <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: Products.CMFPlone
Branch: refs/heads/master
Date: 2017-07-07T13:27:22+03:00
Author: Peter Holzer (agitator) <[email protected]>
Commit: https://github.com/plone/Products.CMFPlone/commit/99899a932cd9a803e8e4052c80ab01011db59254

Added ‘Show Toolbar’ permission.

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

diff --git a/CHANGES.rst b/CHANGES.rst
index fdbd2ddae..70ea76cd5 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -14,11 +14,12 @@ Breaking changes:
 
 New features:
 
-- *add item here*
+- Added ``Show Toolbar`` permission.
+  [agitator]
 
 Bug fixes:
 
-- add :focus class on toolbar for keyboard users  (https://github.com/plone/Products.CMFPlone/issues/1620) 
+- 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 59532ef59..88b9f109c 100644
--- a/Products/CMFPlone/profiles/default/rolemap.xml
+++ b/Products/CMFPlone/profiles/default/rolemap.xml
@@ -217,5 +217,9 @@
       <role name="Manager" />
       <role name="Site Administrator"/>
     </permission>
+    <permission name="Show Toolbar"
+                acquire="False">
+      <role name="Authenticated"/>
+    </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
_______________________________________________
Plone-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-cvs
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.