home / docs / sections

sections: changelog:permissions-fix-for-the-upsert-api

This data as json

id page ref title content breadcrumbs references
changelog:permissions-fix-for-the-upsert-api changelog permissions-fix-for-the-upsert-api Permissions fix for the upsert API The /database/table/-/upsert API had a minor permissions bug, only affecting Datasette instances that had configured the insert-row and update-row permissions to apply to a specific table rather than the database or instance as a whole. Full details in issue #2262 . To avoid similar mistakes in the future the datasette.permission_allowed() method now specifies default= as a keyword-only argument. ["Changelog", "1.0a9 (2024-02-16)"] [{"href": "https://github.com/simonw/datasette/issues/2262", "label": "#2262"}]
Powered by Datasette · Queries took 1.14ms