Any way to restrict nodes

Is there any way to restrict node settings on self hotested version?

For example the minumum time for scheduled trigger is in seconds, but I want none of the users of the server to set it to every second and set a minumum of 5 minutes.

IS something like that possible?

1 Like

There’s probably no way to restrict it, but You might be able to implement some front-end “hooks” to prohibit various combinations, or you could create a workflow to audit it by fetching each workflow’s JSON source using the n8n node, and examining the fields/values you want to constrain.

2 Likes

Maybe you can just remove the seconds option from the “Schedule Trigger” node itself by editing the source code :smiley:

I haven’t tested it, of course, but I think it’s possible :smiley:

1 Like

Yeah like @mohamed3nan said, u can edit the source but not ideal as if you update, it will probably wipe it.

Maybe just do checks, or implement some checks to provide workflows that do use 1sec etc and notify you etc.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.