Email notification - is workflow is the only way?
From what I understand about Galaxy so far, in order to have a user notified that their job has completed, a workflow has to be created in which email notification is chosen as a "Step Action".
For the project that I'm currently working on, I need to have a link to one particular workflow appear in the Tools left-hand side panel/frame for every user that logs in to Galaxy. They shouldn't have to import the specific workflow — it should automatically be listed. I know that I can create links in the Tools panel, but it seems that in order to access a workflow (via direct URL such as: '/workflow/run?id=12345') the logged in user has to either be the creator of the workflow or the creator has to have explicitly "shared" the workflow with the user. Is there a way to grant "share" permission on a workflow to all logged-in users, so that I can list it as a Tool link and it shows up for all users, current and those who may register in the future? Or is there some other approach I can/should take to enable job completion notification for all logged-in users? -Rohit
Rohit, Apologies for the slow response. Yes, currently email notification is only available as a step action in workflows, as you state below. Regarding what you want to do for your project, there isn't currently a way to share a workflow server-wide in a fashion that doesn't require an Import step on the part of the user. I don't know the exact requirements for what you're trying to do, but the only out of the box option is to just publish the workflow (It would show up in Shared Data -> Published Workflows) and have users import it. The other option, and I haven't tried this, is that you could probably modify your galaxy server and change the run method of the workflow controller (in lib/galaxy/web/controllers/workflow.py) to make the security check pass if the workflow has been published, in addition to the current checks it does for ownership or direct sharing. If you did that, the link of the style you mention below should work. -Dannon On Mar 30, 2011, at 5:55 PM, Paul, Rohit (NIH/NCI) [C] wrote:
From what I understand about Galaxy so far, in order to have a user notified that their job has completed, a workflow has to be created in which email notification is chosen as a "Step Action".
For the project that I'm currently working on, I need to have a link to one particular workflow appear in the Tools left-hand side panel/frame for every user that logs in to Galaxy. They shouldn't have to import the specific workflow — it should automatically be listed. I know that I can create links in the Tools panel, but it seems that in order to access a workflow (via direct URL such as: '/workflow/run?id=12345') the logged in user has to either be the creator of the workflow or the creator has to have explicitly "shared" the workflow with the user.
Is there a way to grant "share" permission on a workflow to all logged-in users, so that I can list it as a Tool link and it shows up for all users, current and those who may register in the future?
Or is there some other approach I can/should take to enable job completion notification for all logged-in users?
-Rohit
___________________________________________________________ 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:
participants (2)
-
Dannon Baker
-
Paul, Rohit (NIH/NCI) [C]