equal
deleted
inserted
replaced
105 new_params['extra_dynaexclude'] = ['slots', 'slots_calculated', |
105 new_params['extra_dynaexclude'] = ['slots', 'slots_calculated', |
106 'nr_applications', 'nr_mentors', |
106 'nr_applications', 'nr_mentors', |
107 'slots_desired', 'ideas', |
107 'slots_desired', 'ideas', |
108 'task_quota_limit'] |
108 'task_quota_limit'] |
109 |
109 |
|
110 new_params['mentor_role_name'] = 'ghop_mentor' |
|
111 |
110 params = dicts.merge(params, new_params, sub_merge=True) |
112 params = dicts.merge(params, new_params, sub_merge=True) |
111 |
113 |
112 super(View, self).__init__(params=params) |
114 super(View, self).__init__(params=params) |
113 |
115 |
114 def _public(self, request, entity, context): |
116 def _public(self, request, entity, context): |
284 |
286 |
285 |
287 |
286 view = View() |
288 view = View() |
287 |
289 |
288 admin = decorators.view(view.admin) |
290 admin = decorators.view(view.admin) |
|
291 apply_mentor = decorators.view(view.applyMentor) |
289 create = decorators.view(view.create) |
292 create = decorators.view(view.create) |
290 delete = decorators.view(view.delete) |
293 delete = decorators.view(view.delete) |
291 edit = decorators.view(view.edit) |
294 edit = decorators.view(view.edit) |
292 list = decorators.view(view.list) |
295 list = decorators.view(view.list) |
293 list_requests = decorators.view(view.listRequests) |
296 list_requests = decorators.view(view.listRequests) |