Products.CMFPlone/master: Merge pull request #2100 from plone/show_toolbar_permission

GitHub <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-13T11:04:03+02:00
Author: Johannes Raggam (thet) <[email protected]>
Commit: https://github.com/plone/Products.CMFPlone/commit/e03f160bd770d6c0dde12ab2ec88b32653e48b6f

Merge pull request #2100 from plone/show_toolbar_permission

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.