CLS and RLS in N*N

Hey everybody,

I would like to know if someone has figured out how to implement RLS or CLS for higher security within their workflows. I am trying to find a way in which I can implement this kind of security because only a few people should be able to access certain data in my database/table. Lets assume I have a file with all the users and credentials and cargo. Now depending on cargo I want to grant access to everything or just limited access to a certain table. Anyone figured out how to do this level of sercurity in n8n ?

Hey @Gabriel_Branco welcome to the community!

I feel the closest you’re going to get is credentials with scopes and the RLS implemented database side rather than managed by n8n.

If you’re using webhooks, perhaps consider using JWTs to at least identify the user and/or role. See Using JWTs (JSON Web Tokens) for Authenticated Webhooks