Skip to content

The repository for self-guided SpiceDB workshops

Notifications You must be signed in to change notification settings

authzed/workshops

Repository files navigation

AuthZed Workshops

Here's the hub for all self-guided AuthZed workshops.

1. Secure Your RAG Pipelines With Fine Grained Authorization

This workshop gives you hands-on knowledge on using SpiceDB to safeguard sensitive data in your RAG pipelines. There are different branches for this workshop:

  • (recommended) Using the OpenAI API, Pinecone, a local Jupyter Notebook instance and SpiceDB. Link
  • Using the Deepseek R1 LLM (via OpenRouter), Pinecone, OpenAI Embeddings, a local Jupyter Notebook instance and SpiceDB. Link

2. Update A Web View Based on Permissions

This workshop will illustrate how you can update a view based on what permissions the user has. The workshop uses a NextJS template by Vercel for an admin dashboard, written in TypeScript. Link

3. Prevent AI Agents from Accessing Unauthorized Data

This workshop shows how to build a secure Retrieval-Augmented Generation (RAG) pipeline where AI Agents can only access documents they are authorized for. Authorization decisions are enforced by SpiceDB in a post-filter approach. Link

Contributing

  1. To update or contribute to a workshop, make a pull request with a detailed description of all changes made.