source: products/SimpleBlog/branches/plone-2.1-Blogging-APIs/Permissions.py

Last change on this file was 1, checked in by myroslav, 14 years ago

Building directory structure

File size: 258 bytes
Line 
1from Products.CMFCore.CMFCorePermissions import setDefaultRoles
2
3# Add Entry
4ADD_BLOGENTRY_PERMISSION = 'SimpleBlog: Add BlogEntry'
5ADD_SIMPLEBLOG_PERMISSION='SimpleBlog: Add Blog'
6
7setDefaultRoles(ADD_BLOGENTRY_PERMISSION, ( 'Manager', 'Owner' ) )
8
Note: See TracBrowser for help on using the repository browser.