app/soc/views/models/timeline.py
changeset 2936 75f9c945ed8a
parent 2810 e63b3e0845a9
--- a/app/soc/views/models/timeline.py	Thu Sep 17 12:50:14 2009 +0530
+++ b/app/soc/views/models/timeline.py	Thu Sep 17 14:41:15 2009 +0530
@@ -50,7 +50,7 @@
     """
 
     rights = access.Checker(params)
-    rights['edit'] = ['checkCanEditTimeline']
+    rights['edit'] = [('checkCanEditTimeline', [program_logic.logic])]
 
     new_params = {}
     new_params['rights'] = rights
@@ -60,7 +60,7 @@
     new_params['name'] = "Timeline"
 
     patterns = [(r'^%(url_name)s/(?P<access_type>edit)/%(key_fields)s$',
-                  'soc.views.models.%(module_name)s.edit', 
+                  '%(module_package)s.%(module_name)s.edit',
                   "Edit %(name_short)s")]
 
     new_params['create_extra_dynaproperties'] = {