How to add additional functionality to the grouping of nodes?

I can't find the code where the grouping is implemented. For my thesis I want to extend this grouping of nodes to be able to restrict a group of nodes to acces the network or writing to files preventing certain cyber attacks. Any ideas where this code is located in the source code?

Hi @Jonathan

In the runtime, groups are represented here: node-red/packages/node_modules/@node-red/runtime/lib/flows/Group.js at f0d0990b5a087f0abf954b8ba3b161c87ec53ca2 · node-red/node-red · GitHub

The only meaningful runtime impact they have is being able to set env vars scoped to the group, so whether this is sufficient for your needs, I couldn't say.

Nick

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