galaxy-dist commit 522c99a05163: fixed Lab menu access bug
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User rc # Date 1288298593 14400 # Node ID 522c99a05163c1816e9fe3be4c0b4ad05bff3ea0 # Parent 7327a60e33968cb067edf6541cc84643f970180d fixed Lab menu access bug fixed rabbitmq setup script bug --- a/templates/webapps/galaxy/base_panels.mako +++ b/templates/webapps/galaxy/base_panels.mako @@ -84,7 +84,7 @@ [ 'Find Samples', h.url_for( controller='/requests', action='find_samples_index' ) ], [ 'Help', app.config.get( "lims_doc_url", "http://main.g2.bx.psu.edu/u/rkchak/p/sts" ), "galaxy_main" ] ] - tab( "lab", "Lab", None, menu_options=menu_options, visible=( trans.user and trans.user.requests ) ) + tab( "lab", "Lab", None, menu_options=menu_options, visible=( trans.user and ( trans.user.requests or trans.user.accessible_request_types() ) ) ) %> ## Visualization menu. --- a/scripts/galaxy_messaging/server/setup_rabbitmq.py +++ b/scripts/galaxy_messaging/server/setup_rabbitmq.py @@ -25,7 +25,7 @@ def main( config_file ): cmd_list = [ 'add_user %s %s' % ( username, password ), 'add_vhost %s' % config.get( 'galaxy_amqp', 'virtual_host' ), - 'set_permissions -p %s %s "%s.*" ".*" ".*"' % ( virtual_host, username, username ) + 'set_permissions -p %s %s ".*" ".*" ".*"' % ( virtual_host, username ) ] for cmd in cmd_list:
participants (1)
-
commits-noreply@bitbucket.org