Closed HknLof closed 1 year ago
This is a follow up to pull request https://github.com/DataCater/datacater/pull/77. The process to implement RLS for datacater is as follows:
datacater
init-db.sql
@MappedSuperClass
SET datacater.tenant = $tenant
Refs
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
84.0% Coverage 0.0% Duplication
This is a follow up to pull request https://github.com/DataCater/datacater/pull/77. The process to implement RLS for datacater is as follows:
datacater
via migartions. For nowinit-db.sql
.@MappedSuperClass
, which fills in the tenant automatically. [Static for validating approach]SET datacater.tenant = $tenant
. [Static for validating approach]Refs