equal
deleted
inserted
replaced
57 rights['accept_invite'] = [('checkCanCreateFromRequest', 'mentor')] |
57 rights['accept_invite'] = [('checkCanCreateFromRequest', 'mentor')] |
58 # TODO accessCheck checkIsAdministratorForOrg |
58 # TODO accessCheck checkIsAdministratorForOrg |
59 rights['process_request'] = ['checkIsDeveloper', |
59 rights['process_request'] = ['checkIsDeveloper', |
60 ('checkCanProcessRequest', 'mentor')] |
60 ('checkCanProcessRequest', 'mentor')] |
61 rights['manage'] = [ |
61 rights['manage'] = [ |
62 ('checkIsAllowedToManageRole', [soc.logic.models.mentor, |
62 ('checkIsAllowedToManageRole', [soc.logic.models.mentor.logic, |
63 soc.logic.models.org_admin])] |
63 soc.logic.models.org_admin.logic])] |
64 |
64 |
65 new_params = {} |
65 new_params = {} |
66 new_params['logic'] = soc.logic.models.mentor.logic |
66 new_params['logic'] = soc.logic.models.mentor.logic |
67 new_params['group_logic'] = org_logic.logic |
67 new_params['group_logic'] = org_logic.logic |
68 new_params['group_view'] = org_view.view |
68 new_params['group_view'] = org_view.view |