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

« back to all changes in this revision

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

Implement an authorization system in the new framework. This breaks the REST
views, but the rest have authorization information now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
class SubversionLogView(XHTMLView):
33
33
    template = 'template.html'
34
34
 
 
35
    def authorize(self, req):
 
36
        return req.user is not None
 
37
 
35
38
    def populate(self, req, ctx):
36
39
        self.plugin_styles[Plugin] = ['log.css']
37
40