Simon Willison 4.11.2025

A new SQL-powered permissions system in Datasette 1.0a20

Przeczytaj oryginał

Datasette 1.0a20's new permissions system migrates permission logic to SQL running in SQLite, addressing performance issues with large numbers of tables. The update introduces a new permission_resources_sql() plugin hook, enabling efficient filtering of accessible resources and includes debugging tools. This breaking API change improves how plugins handle authentication and authorization for actions like view-table and execute-sql.

A new SQL-powered permissions system in Datasette 1.0a20

Komentarze

Brak komentarzy

Bądź pierwszy, który podzieli się swoimi myślami!

Rozszerzenie przeglądarki

Uzyskaj natychmiastowy dostęp do AllDevBlogs z przeglądarki