Sweep: Add support for RLS (Postgres)
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 32
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
When connecting to a Postgres database with RLS (like Supabase), Ensemble should let you assume a role for the duration of a session (defined as a tokio thread).
Checklist
- [X] Modify `ensemble/src/connection.rs` ✓ https://github.com/m1guelpf/ensemble/commit/bc87ea10d2a602ba47726b54c3dce42c1e9d5413 [Edit](https://github.com/m1guelpf/ensemble/edit/sweep/postgres-rls-support/ensemble/src/connection.rs)
- [X] Running GitHub Actions for `ensemble/src/connection.rs` ✓ [Edit](https://github.com/m1guelpf/ensemble/edit/sweep/postgres-rls-support/ensemble/src/connection.rs)
- [X] Modify `ensemble/src/lib.rs` ✓ https://github.com/m1guelpf/ensemble/commit/22e0ad118962845ea55048a3a252a156e6f8f7bc [Edit](https://github.com/m1guelpf/ensemble/edit/sweep/postgres-rls-support/ensemble/src/lib.rs)
- [X] Running GitHub Actions for `ensemble/src/lib.rs` ✓ [Edit](https://github.com/m1guelpf/ensemble/edit/sweep/postgres-rls-support/ensemble/src/lib.rs)
- [X] Create `ensemble/src/tests/connection_tests.rs` ✓ https://github.com/m1guelpf/ensemble/commit/e48ee80d9588899de8b3941369f40fe1e00720e6 [Edit](https://github.com/m1guelpf/ensemble/edit/sweep/postgres-rls-support/ensemble/src/tests/connection_tests.rs)
- [X] Running GitHub Actions for `ensemble/src/tests/connection_tests.rs` ✓ [Edit](https://github.com/m1guelpf/ensemble/edit/sweep/postgres-rls-support/ensemble/src/tests/connection_tests.rs)

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review ensemble/src/connection.rs and ensemble/src/lib.rs, then inspect ensemble/src/tests/connection_tests.rs and the linked commits on the sweep branch. The checklist marks all requested files and GitHub Actions checks complete, so confirm whether any remaining review or follow-up is needed before treating the RLS session-role support as done.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 20/100