equal
deleted
inserted
replaced
53 |
53 |
54 rights = access.Checker(params) |
54 rights = access.Checker(params) |
55 rights['create'] = ['checkIsDeveloper'] |
55 rights['create'] = ['checkIsDeveloper'] |
56 rights['edit'] = [('checkHasActiveRoleForScope', soc.logic.models.mentor.logic)] |
56 rights['edit'] = [('checkHasActiveRoleForScope', soc.logic.models.mentor.logic)] |
57 rights['delete'] = ['checkIsDeveloper'] |
57 rights['delete'] = ['checkIsDeveloper'] |
58 rights['invite'] = [('checkHasActiveRoleForScope', |
58 rights['invite'] = [('checkHasActiveRoleForScope', |
59 soc.logic.models.org_admin.logic)] |
59 soc.logic.models.org_admin.logic)] |
60 rights['accept_invite'] = [('checkCanCreateFromRequest', 'mentor'), |
60 rights['accept_invite'] = [('checkCanCreateFromRequest', 'mentor'), |
61 'checkIsNotStudentForProgramOfOrg'] |
61 'checkIsNotStudentForProgramOfOrg'] |
62 rights['request'] = ['checkIsNotStudentForProgramOfOrg', |
62 rights['request'] = ['checkIsNotStudentForProgramOfOrg', |
63 ('checkCanMakeRequestToGroup', org_logic)] |
63 ('checkCanMakeRequestToGroup', org_logic)] |