Use role_name to register the Role with the Group View.
--- a/app/soc/views/models/club_admin.py Thu Jul 23 14:41:53 2009 +0200
+++ b/app/soc/views/models/club_admin.py Thu Jul 23 14:43:20 2009 +0200
@@ -85,7 +85,7 @@
super(View, self).__init__(params=params)
# register the role with the group_view
- self._params['group_view'].registerRole(self._params['module_name'], self)
+ self._params['group_view'].registerRole(self._logic.role_name, self)
# create and store the special form for invited users
updated_fields = {
--- a/app/soc/views/models/club_member.py Thu Jul 23 14:41:53 2009 +0200
+++ b/app/soc/views/models/club_member.py Thu Jul 23 14:43:20 2009 +0200
@@ -88,7 +88,7 @@
super(View, self).__init__(params=params)
# register the role with the group_view
- self._params['group_view'].registerRole(self._params['module_name'], self)
+ self._params['group_view'].registerRole(self._logic.role_name, self)
# create and store the special form for invited users
updated_fields = {
--- a/app/soc/views/models/host.py Thu Jul 23 14:41:53 2009 +0200
+++ b/app/soc/views/models/host.py Thu Jul 23 14:43:20 2009 +0200
@@ -97,7 +97,7 @@
super(View, self).__init__(params=params)
# register the role with the group_view
- self._params['group_view'].registerRole(self._params['module_name'], self)
+ self._params['group_view'].registerRole(self._logic.role_name, self)
# create and store the special form for invited users
updated_fields = {
--- a/app/soc/views/models/mentor.py Thu Jul 23 14:41:53 2009 +0200
+++ b/app/soc/views/models/mentor.py Thu Jul 23 14:43:20 2009 +0200
@@ -117,7 +117,7 @@
super(View, self).__init__(params=params)
# register the role with the group_view
- self._params['group_view'].registerRole(self._params['module_name'], self)
+ self._params['group_view'].registerRole(self._logic.role_name, self)
# create and store the special form for invited users
dynafields = [
--- a/app/soc/views/models/org_admin.py Thu Jul 23 14:41:53 2009 +0200
+++ b/app/soc/views/models/org_admin.py Thu Jul 23 14:43:20 2009 +0200
@@ -117,7 +117,7 @@
super(View, self).__init__(params=params)
# register the role with the group_view
- self._params['group_view'].registerRole(self._params['module_name'], self)
+ self._params['group_view'].registerRole(self._logic.role_name, self)
# create and store the special form for invited users
dynafields = [