app/soc/views/models/sponsor.py
changeset 1664 07c536240838
parent 1584 d8ba8c917f37
child 1695 d0f8d033cf3c
equal deleted inserted replaced
1663:032210fcb952 1664:07c536240838
    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