fixed Lab menu access bug

fixed rabbitmq setup script bug
This commit is contained in:
Ramkrishna Chakrabarty
2010-10-28 16:43:13 -04:00
parent 526d04d7bb
commit 809d95b8b4
2 changed files with 2 additions and 2 deletions
@@ -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:
+1 -1
View File
@@ -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.