Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 624 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 624 Bytes

status

this is a work-in-progress, proof-of-concept only. Do not use this code as-is, it will not work.

rls_oso

Plugin to use Oso authorization library in postgres' row level security policies.

how to

You need Rust and Cargo installed, and pgx.

Build and start a local postgres with cargo pgx run

Run the SQL in rls.sql to see the effect of row level security policies.

what next

relations? an important part of security policies is relationship between subject and object.

but