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

« back to all changes in this revision

Viewing changes to ivle/webapp/help/__init__.py

Add authorization information to the help ToC view.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
    appname = 'help'
63
63
    template = 'toc.html'
64
64
 
 
65
    def authorize(self, req):
 
66
        return req.user is not None
 
67
 
65
68
    def populate(self, req, ctx):
66
69
        ctx['toc'] = generate_toc(req.config.plugin_index[ViewPlugin], req)
67
70