Add rbac-todo plugin with Supabase RLS and mcp-lite - #73
Merged
Merged
Conversation
walkerhughes
added this pull request to stack #75
September 14, 2026 04:35
walkerhughes
marked this pull request as ready for review
September 14, 2026 04:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a shared to-do list that persists in Supabase Postgres. Admins can add, update and delete to-dos; members can read them. Postgres RLS enforces this through both MCP and direct REST requests.
rbac-todoas a plugin with Claude and Codex manifests, a marketplace entry and token-based MCP configuration.mcp-lite, with a user-scoped database client on every request.Deployed to
supabase-demo(tteazpolsuwfxqqqksoj):https://tteazpolsuwfxqqqksoj.supabase.co/functions/v1/rbac-todo/mcpValidation passed: Deno formatting, lint and type checks; Python lint, formatting and login-helper test; plugin validation; and live MCP/REST tests for CRUD persistence, member write denial, unauthorized access, self-promotion, input validation and immediate role demotion.
The demo uses Supabase Auth bearer tokens. Users must be assigned a role and refresh expired tokens; OAuth discovery is not implemented. The live CI job runs manually and requires the Supabase access-token secret.