[hg] galaxy 2924: Require login to perform visualization (otherw...
details: http://www.bx.psu.edu/hg/galaxy/rev/a471575d1e4a changeset: 2924:a471575d1e4a user: James Taylor <james@jamestaylor.org> date: Tue Oct 27 13:39:48 2009 -0400 description: Require login to perform visualization (otherwise we have no way to store them) 2 file(s) affected in this change: lib/galaxy/web/controllers/tracks.py lib/galaxy/web/controllers/visualization.py diffs (28 lines): diff -r 734722f10df8 -r a471575d1e4a lib/galaxy/web/controllers/tracks.py --- a/lib/galaxy/web/controllers/tracks.py Tue Oct 27 13:28:25 2009 -0400 +++ b/lib/galaxy/web/controllers/tracks.py Tue Oct 27 13:39:48 2009 -0400 @@ -63,6 +63,7 @@ return trans.fill_template( "tracks/index.mako" ) @web.expose + @web.require_login() def new_browser( self, trans, dbkey=None, dataset_ids=None, browse=None, title=None ): """ Build a new browser from datasets in the current history. Redirects diff -r 734722f10df8 -r a471575d1e4a lib/galaxy/web/controllers/visualization.py --- a/lib/galaxy/web/controllers/visualization.py Tue Oct 27 13:28:25 2009 -0400 +++ b/lib/galaxy/web/controllers/visualization.py Tue Oct 27 13:39:48 2009 -0400 @@ -28,11 +28,13 @@ class VisualizationController( BaseController ): @web.expose + @web.require_login() def index( self, trans ): return trans.fill_template( "panels.mako", active_view='visualization', main_url=url_for( action='list' ) ) list_grid = VisualizationListGrid() @web.expose + @web.require_login() def list( self, trans, *args, **kwargs ): return self.list_grid( trans, *args, **kwargs )
participants (1)
-
Greg Von Kuster