equal
deleted
inserted
replaced
45 params: a dict with params for this View |
45 params: a dict with params for this View |
46 """ |
46 """ |
47 |
47 |
48 rights = access.Checker(params) |
48 rights = access.Checker(params) |
49 rights['create'] = ['checkIsDeveloper'] |
49 rights['create'] = ['checkIsDeveloper'] |
50 rights['edit'] = ['checkIsHostForSponsor'] |
50 rights['edit'] = ['checkIsHostForSponsor', |
|
51 ('checkIsGroupActive', soc.logic.models.sponsor)] |
51 rights['delete'] = ['checkIsDeveloper'] |
52 rights['delete'] = ['checkIsDeveloper'] |
52 rights['home'] = ['checkIsHostForSponsor'] |
53 rights['home'] = ['checkIsHostForSponsor'] |
53 rights['list'] = ['checkIsDeveloper'] |
54 rights['list'] = ['checkIsDeveloper'] |
54 rights['list_requests'] = ['checkIsHostForSponsor'] |
55 rights['list_requests'] = ['checkIsHostForSponsor'] |
55 rights['list_roles'] = ['checkIsHostForSponsor'] |
56 rights['list_roles'] = ['checkIsHostForSponsor'] |