~/talk

From Chaos To Control: Migrating Access Control To OpenFGA in a Multi-Tenant World

links:none on file
links:none on file
slides:none on file

Grafana migrates its legacy access control to OpenFGA, starting with folders and dashboards and using per-tenant stores to avoid cross-tenant leaks and reduce latency by running one OpenFGA per cluster. Key lessons: tuple volume and schema complexity hurt performance, SQLite/MySQL/Postgres backends differ, use shadow calls and repeated verification during migrations, and prefer search-and-check for small result sets but switch to a local index or aggressive tenant filtering when listings exceed ~1000 objects. Packaging uses Grafana DSkit and an offlib client for easy deployment.

AI-written summary · about

  1. 0:00Introduction
  2. 2:29Need for standard auth
  3. 5:20Zanzibar and OpenFGA
  4. 7:07Declarative auth with OpenFGA
  5. 10:56Grafana’s access control issues
  6. 13:27Opportunity with Grafana platform
  7. 15:56Migrating in three steps
  8. 18:04Schema design pitfalls
  9. 19:29Multi-tenancy with OpenFGA
  10. 21:14Safe migration strategies
  11. 22:59Permissions at scale
  12. 25:50Search strategies for tenants
  13. 26:56Packaging auth logic
  14. 28:20Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.