--- a/app/soc/views/models/club.py Sat Jan 10 18:17:44 2009 +0000
+++ b/app/soc/views/models/club.py Sat Jan 10 18:18:10 2009 +0000
@@ -31,6 +31,7 @@
from soc.logic.models import user as user_logic
from soc.logic.models import group_app as group_app_logic
from soc.logic.models import club as club_logic
+from soc.views.helper import access
from soc.views.helper import widgets
from soc.views.models import base
@@ -49,9 +50,12 @@
params: a dict with params for this View
"""
+ rights = {}
+ rights['create'] = [access.checkIsApplied]
+
new_params = {}
-
new_params['logic'] = soc.logic.models.club.logic
+ new_params['rights'] = rights
new_params['name'] = "Club"