No 'Pundit' Intended
summary
Compares policy gems to storing relationships as a graph and claims relationship-based FGA avoids tangled, unrefactorable policy files by storing edges and rules separately. Shows a real task-edit rule: creator OR admin/editor directly OR via team, plus a new sensitive task override, and implements it with the granity gem (adds a tpple table, schema DSL, permission evaluation and caching). Cites Figma: 23% of SQL queries relate to access control, warns about sync and pagination tradeoffs.
AI-written summary · about
