equal
deleted
inserted
replaced
54 rights['edit'] = [('checkHasActiveRoleForLinkIdAsScope', host_logic), |
54 rights['edit'] = [('checkHasActiveRoleForLinkIdAsScope', host_logic), |
55 ('checkGroupIsActiveForLinkId', sponsor_logic)] |
55 ('checkGroupIsActiveForLinkId', sponsor_logic)] |
56 rights['delete'] = ['checkIsDeveloper'] |
56 rights['delete'] = ['checkIsDeveloper'] |
57 rights['home'] = [('checkHasActiveRoleForScope', host_logic)] |
57 rights['home'] = [('checkHasActiveRoleForScope', host_logic)] |
58 rights['list'] = ['checkIsDeveloper'] |
58 rights['list'] = ['checkIsDeveloper'] |
59 rights['list_requests'] = [('checkHasActiveRoleForLinkIdAsScope', host_logic)] |
59 rights['list_requests'] = [('checkHasActiveRoleForLinkIdAsScope', |
|
60 host_logic)] |
60 rights['list_roles'] = [('checkHasActiveRoleForLinkIdAsScope', host_logic)] |
61 rights['list_roles'] = [('checkHasActiveRoleForLinkIdAsScope', host_logic)] |
61 |
62 |
62 new_params = {} |
63 new_params = {} |
63 new_params['logic'] = soc.logic.models.sponsor.logic |
64 new_params['logic'] = soc.logic.models.sponsor.logic |
64 new_params['rights'] = rights |
65 new_params['rights'] = rights |