source:
products/SimpleBlog/branches/plone-2.1/Permissions.py
| Last change on this file was 1, checked in by myroslav, 21 years ago | |
|---|---|
| File size: 258 bytes | |
| Line | |
|---|---|
| 1 | from Products.CMFCore.CMFCorePermissions import setDefaultRoles |
| 2 | |
| 3 | # Add Entry |
| 4 | ADD_BLOGENTRY_PERMISSION = 'SimpleBlog: Add BlogEntry' |
| 5 | ADD_SIMPLEBLOG_PERMISSION='SimpleBlog: Add Blog' |
| 6 | |
| 7 | setDefaultRoles(ADD_BLOGENTRY_PERMISSION, ( 'Manager', 'Owner' ) ) |
| 8 |
Note: See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/common/qtrac_logo.png)