app/soc/views/models/org_app.py
changeset 1238 af56ae7397ab
parent 1230 b1b1897e4df1
child 1244 20494064bc3f
--- a/app/soc/views/models/org_app.py	Sat Feb 07 13:36:50 2009 +0000
+++ b/app/soc/views/models/org_app.py	Sat Feb 07 13:40:20 2009 +0000
@@ -63,7 +63,7 @@
     # TODO(ljvderijk) fix host access check
     rights['review'] = ['checkIsHostForProgram',
                         ('checkCanReviewGroupApp', [org_app_logic.logic])]
-    rights['review_overview'] = ['checkIsDeveloper']
+    rights['review_overview'] = ['checkIsHostForProgram']
     rights['apply'] = ['checkIsUser',
                              ('checkCanCreateOrgApp', ['org_signup'])]
 
@@ -79,7 +79,10 @@
 
     patterns = [(r'^%(url_name)s/(?P<access_type>apply)/%(scope)s$',
         'soc.views.models.%(module_name)s.create',
-        'Create an %(name_plural)s'),]
+        'Create an %(name_plural)s'),
+        (r'^%(url_name)s/(?P<access_type>list)/%(scope)s$',
+        'soc.views.models.%(module_name)s.create',
+        'Create an %(name_plural)s')]
 
     new_params['extra_django_patterns'] = patterns