Changes between Version 20 and Version 21 of DeveloperGuidelines/Tutorial/RESTCustomisation
- Timestamp:
- 03/03/14 21:02:06 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Tutorial/RESTCustomisation
v20 v21 161 161 else: 162 162 # Easy to tell that they are not permitted to read in the shelter table: 163 r.unauthorized() 163 164 # If the user is logged in, this shows an "Insufficient Permissions" error to the user and 165 # redirects to a landing page. If the user is not logged in, it will redirect to the login 166 # page (however, alternative handling is possible - and sometimes useful and more user-friendly): 167 r.unauthorized() 168 164 169 }}} 165 170