equal
deleted
inserted
replaced
135 page_name: the page name displayed in templates as page and header title |
135 page_name: the page name displayed in templates as page and header title |
136 params: a dict with params for this View |
136 params: a dict with params for this View |
137 kwargs: not used |
137 kwargs: not used |
138 """ |
138 """ |
139 |
139 |
|
140 params = dicts.merge(params, self._params) |
|
141 |
140 try: |
142 try: |
141 self.checkAccess('listSelf', request) |
143 access.checkAccess('listSelf', request, params['rights']) |
142 except out_of_band.Error, error: |
144 except out_of_band.Error, error: |
143 return error.response(request) |
145 return error.response(request) |
144 |
|
145 params = dicts.merge(params, self._params) |
|
146 |
146 |
147 # get the current user |
147 # get the current user |
148 properties = {'account': users.get_current_user()} |
148 properties = {'account': users.get_current_user()} |
149 user_entity = user_logic.logic.getForFields(properties, unique=True) |
149 user_entity = user_logic.logic.getForFields(properties, unique=True) |
150 |
150 |