Hi, in order to restrict the access of a tool to logged users I'm trying to use Cheetah for editing the xml config file. I was wondering if a solution like the one below should work. Although no errors are reported while loading the tool it does not perform the check on the email address and anonymous users still see the tool. Any ideas of what it's wrong with this solution? Cheers, I. <?xml version="1.0"?> <tool name="RSS site" id="rss1" tool_type="data_source"> <description>RSS site</description> #if $__user_email__ == "" <display>You are not authorized to use this tool</display> #else <command interpreter="python"> data_source.py $output $__app__.config.output_size_limit </command> .... <options sanitize="False" refresh="True"/> #end if </tool> -------- Messaggio originale -------- Oggetto: [galaxy-dev] tool restrict access Data: Mon, 02 Jan 2012 18:36:53 +0100 Mittente: Ivan Merelli <ivan.merelli@itb.cnr.it> A: galaxy-dev@lists.bx.psu.edu <galaxy-dev@lists.bx.psu.edu> Hi, how can I restrict the access of a Galaxy tool to a specific user in an login free instance of Galaxy? I see a suggestion in this post http://gmod.827538.n3.nabble.com/Galaxy-Tool-permission-Access-td3348890.htm... but it's really workround, I was seeking for a cleaner solution... Thanks, Ivan ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/