equal
deleted
inserted
replaced
94 that combines a Django view with sidebar menu info |
94 that combines a Django view with sidebar menu info |
95 kwargs: the Key Fields for the specified entity |
95 kwargs: the Key Fields for the specified entity |
96 """ |
96 """ |
97 |
97 |
98 try: |
98 try: |
99 self.checkAccess('edit', request) |
99 self.checkAccess('public', request) |
100 except soc.views.out_of_band.AccessViolationResponse, alt_response: |
100 except soc.views.out_of_band.AccessViolationResponse, alt_response: |
101 return alt_response.response() |
101 return alt_response.response() |
102 |
102 |
103 # create default template context for use with any templates |
103 # create default template context for use with any templates |
104 context = helper.responses.getUniversalContext(request) |
104 context = helper.responses.getUniversalContext(request) |