diff -r 26a95753cd99 -r 89f1a8c2ea59 app/soc/views/models/site.py --- a/app/soc/views/models/site.py Sun Dec 07 17:26:59 2008 +0000 +++ b/app/soc/views/models/site.py Sun Dec 07 19:01:35 2008 +0000 @@ -69,8 +69,14 @@ params: a dict with params for this View """ + rights = {} + rights['unspecified'] = [access.checkIsDeveloper] + rights['any_access'] = [access.allow] + rights['public'] = [access.allow] + new_params = {} new_params['logic'] = soc.logic.models.site.logic + new_params['rights'] = rights # TODO(alturin): add ugettext_lazy ? new_params['name'] = "Site Settings" @@ -88,12 +94,6 @@ new_params['public_template'] = 'soc/home/public.html' - new_params['rights'] = { - 'unspecified': [access.checkIsDeveloper], - 'any_access': [access.allow], - 'public': [access.allow] - } - patterns = [] page_name = "Home Page"