~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/serve/__init__.py

  • Committer: William Grant
  • Date: 2010-02-23 08:08:27 UTC
  • Revision ID: grantw@unimelb.edu.au-20100223080827-wklsx122pcw79wi7
Reject off-site non-GET requests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
class ServeView(BaseView):
40
40
    subpath_allowed = True
 
41
    offsite_posts_allowed = True
41
42
 
42
43
    def authorize(self, req):
43
44
        return req.user is not None