sections: upgrade-1.0a20:datasette-1-0a20-plugin-upgrade-guide
This data as json
| id | page | ref | title | content | breadcrumbs | references |
|---|---|---|---|---|---|---|
| upgrade-1.0a20:datasette-1-0a20-plugin-upgrade-guide | upgrade-1.0a20 | datasette-1-0a20-plugin-upgrade-guide | Datasette 1.0a20 plugin upgrade guide | Datasette 1.0a20 makes some breaking changes to Datasette's permission system. Plugins need to be updated if they use any of the following : The register_permissions() plugin hook - this should be replaced with register_actions The permission_allowed() plugin hook - this should be upgraded to use permission_resources_sql() . The datasette.permission_allowed() internal method - this should be replaced with datasette.allowed() Logic that grants access to the "root" actor can be removed. | [] | [] |