Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 from zope.i18nmessageid import MessageFactory
00002 PloneMessageFactory = MessageFactory('plone')
00003 
00004 from Products.CMFCore.permissions import setDefaultRoles
00005 
00006 PROJECTNAME = "plone.portlet.collection"
00007 DEFAULT_ADD_CONTENT_PERMISSION = "%s: Add collection portlet" % PROJECTNAME
00008 
00009 setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner',))