app/soc/views/models/site.py
changeset 1007 3b66772d21a5
parent 973 f9c2b32b9e2b
child 1017 6ad4fdb48840
equal deleted inserted replaced
1006:6abf12b9e646 1007:3b66772d21a5
    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