mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
fixed Lab menu access bug
fixed rabbitmq setup script bug
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user