Skip to content

PoC postgres plugin to use oso authorization in row level security policies

Notifications You must be signed in to change notification settings

MFAshby/rls_oso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

PoC postgres plugin to use oso authorization in row level security policies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages