plone.app.layout/show_toolbar_permission: removed unnecessary permissions.py

Peter Holzer <jenkins-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.cvs
Message-ID <[email protected]>
Repository: plone.app.layout
Branch: refs/heads/show_toolbar_permission
Date: 2017-07-10T09:58:15+02:00
Author: Peter Holzer (agitator) <peter.holzer-2KzcThb1VtpWk0Htik3J/[email protected]>
Commit: https://github.com/plone/plone.app.layout/commit/d7ee61dbda07beff77c6ae65ef097b5fae71e80d

removed unnecessary permissions.py

Files changed:
D plone/app/layout/permissions.py

diff --git a/plone/app/layout/permissions.py b/plone/app/layout/permissions.py
deleted file mode 100644
index 85142ed..0000000
--- a/plone/app/layout/permissions.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- coding: utf-8 -*-
-from AccessControl.SecurityInfo import ModuleSecurityInfo
-from Products.CMFCore.permissions import setDefaultRoles
-
-
-security = ModuleSecurityInfo('plone.app.layout')
-
-security.declarePublic('ShowToolbar')
-ShowToolbar = 'Show Toolbar'
-setDefaultRoles(ShowToolbar, ('Authenticated',))



------------------------------------------------------------------------------
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.