n8n icon indicating copy to clipboard operation
n8n copied to clipboard

Default error workflow via env

Open rfehling-mittwald opened this issue 2 years ago • 5 comments

https://community.n8n.io/t/how-to-set-default-error-workflow-for-new-workflows/7598

rfehling-mittwald avatar Jun 02 '22 08:06 rfehling-mittwald

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 02 '22 08:06 CLAassistant

Thank you very much for your contribution. is very appreciated! But as n8n now has support for different users, is it now sadly a little bit more complicated. After all, will not all users have access to all workflows anymore.

janober avatar Jun 02 '22 09:06 janober

But an error workflow should not have any ACL, right?

Guess its possible to check if the linked workflow has an error trigger. Or just forbid to set restrictions when an workflow has an error trigger/is linked as error workflow?

We are currently not very deep in user handling :sweat_smile:

rfehling-mittwald avatar Jun 02 '22 10:06 rfehling-mittwald

For sure possible but not sure if that is how it should work. Would have def. been something we could have merged pre-user-management quite fast but now needs for sure some proper thinking and planning.

janober avatar Jun 02 '22 14:06 janober

Hi @janober would it be possible to have this solution when user management is disabled (while there's a definitive solution that works with user management enabled)?

fcecagno avatar Jul 18 '22 16:07 fcecagno

@janober Could we take a second look on this problem? Seems like @fcecagno suggestion is reasonable?

neoromantic avatar Sep 22 '22 14:09 neoromantic

@janober , can an n8n specify a workflow to be globally visible to all users and then make that one the default error workflow? Like, don't let other users alter that workflow, but make it sort of "read-only". Would that solve this problem?

dkindlund avatar Mar 08 '24 20:03 dkindlund