Switch to side-by-side view
--- a/ForgeLink/forgelink/link_main.py +++ b/ForgeLink/forgelink/link_main.py @@ -66,6 +66,9 @@ class RootController(object): + def _check_security(self): + require(has_artifact_access('read')) + @expose('forgelink.templates.index') def index(self): url = c.app.config.options.get('url') @@ -77,5 +80,4 @@ @expose() def index(self): - print 'a' - redirect('options')+ redirect('options')