Restrict workflow creation

Is there a way to restrict users from creating workflows? As an admin of my local galaxy server, I’d like to upload specific workflows and publish them to users for use. This would restrict only the pre-defined workflows for execution.

Hi @david.deepwell

This has come up before but since I don’t know the best way to handle this, and no one else has answered after a day, let’s cross post this over to the Workflow working group chat. They may reply here, but also feel free to join. You're invited to talk on Matrix

There’s no built-in way to do this, however you could write a custom workflow scheduler plugin and fail invocations not owned by a specific user. That will require significant knowledge of galaxy internals though. For reference here is the core scheduler plugin: galaxy/lib/galaxy/workflow/schedulers/ at release_24.0 · galaxyproject/galaxy · GitHub

Alternatively you could write a dynamic job rule, look up the owner and fail invocations that way.

Neither of these options is going to alter the user interface for this usecase.