Files
document-haness/docs/clean-architecture-backend-template/final/assets/diagrams/rls-three-preconditions/rls-three-preconditions.d2
T

19 lines
431 B
Plaintext

# PostgreSQL RLS 적용 여부를 가르는 분기
# Question: 현재 role과 table에서 RLS policy가 실제로 적용되는가?
direction: down
g0: "policy 적용 대상 판정" {
n0: "RLS 활성 여부" {
shape: rectangle
}
n1: "policy 적용 대상" {
shape: rectangle
}
}
g1: "policy 존재와 평가" {
n2: "applicable policy" {
shape: rectangle
}
}
g0.n0 -> g0.n1: "RLS on"
g0.n1 -> g1.n2: "적용"