Skip to content

FelipeTaiarol/multi_tenancy_pg_row_level_security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of how to use postgres RLS to do tenant isolation.

Every table should have a tenant_id column and every database connection should have a configuration parameter tenant.id.

It implements the approach describe in this article.

WARNING: I haven't used this approach in production yet.

About

Example of how to implement tenant isolation using postgres' RLS

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors