Changeset 23 for waeup_product/trunk/Extensions
- Timestamp:
- 30 Sep 2005, 09:28:29 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r20 r23 2 2 from Products.CMFCore.CMFCorePermissions import View, ModifyPortalContent 3 3 try: 4 from Products.CPSSubscriptions.CPSSubscriptionsPermissions import \ 5 CanNotifyContent 4 from Products.CPSSubscriptions.permissions import CanNotifyContent 6 5 CPSSubscriptions = True 7 6 except ImportError: 8 7 CPSSubscriptions = False 9 8 try: 10 from Products.CPSForum.CPSForumPermissions import \ 11 ForumManageComments 9 from Products.CPSForum.CPSForumPermissions import ForumManageComments 12 10 CPSForum = True 13 11 except ImportError: … … 65 63 'action' : 'string:${portal_url}/check_admission_form', 66 64 'permission': (View, ), 67 'condition' : ' ',68 'category' : ' ostudent',65 'condition' : 'not:member', 66 'category' : 'student', 69 67 'visible' : 1, 70 68 }, … … 73 71 'name' : 'Add Student', 74 72 'action' : 'folder_factories', 75 'permission': ( View,),76 'condition' : ' python: here.portal_type == "StudentFolder"',73 'permission': (ModifyPortalContent,), 74 'condition' : '', 77 75 'category' : 'student', 78 76 'visible' : 1,
Note: See TracChangeset for help on using the changeset viewer.