equal
deleted
inserted
replaced
44 |
44 |
45 Params: |
45 Params: |
46 params: a dict with params for this View |
46 params: a dict with params for this View |
47 """ |
47 """ |
48 |
48 |
49 rights = {} |
49 rights = access.Checker(params) |
50 rights['unspecified'] = [access.checkIsDeveloper] |
50 rights['unspecified'] = ['checkIsDeveloper'] |
51 rights['any_access'] = [access.allow] |
51 rights['any_access'] = ['allow'] |
52 rights['show'] = [access.allow] |
52 rights['show'] = ['allow'] |
53 |
53 |
54 new_params = {} |
54 new_params = {} |
55 new_params['logic'] = soc.logic.models.site.logic |
55 new_params['logic'] = soc.logic.models.site.logic |
56 new_params['rights'] = rights |
56 new_params['rights'] = rights |
57 |
57 |