datasette/datasette/utils
Simon Willison 27084caa04
New allowed_resources_sql plugin hook and debug tools (#2505)
* allowed_resources_sql plugin hook and infrastructure
* New methods for checking permissions with the new system
* New /-/allowed and /-/check and /-/rules special endpoints

Still needs to be integrated more deeply into Datasette, especially for listing visible tables.

Refs: #2502

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-08 14:27:51 -07:00
..
__init__.py Test improvements and fixed deprecation warnings (#2464) 2025-02-04 14:49:52 -08:00
asgi.py Fix for RowNotFound, refs #2359 2024-06-21 16:10:16 -07:00
baseconv.py Rename to_decimal/from_decimal to decode/encode, refs #1734 2022-05-02 12:44:09 -07:00
check_callable.py Rename callable.py to check_callable.py, refs #2078 2023-05-25 11:49:40 -07:00
internal_db.py catalog_views table, closes #2495 2025-07-15 10:22:56 -07:00
permissions.py New allowed_resources_sql plugin hook and debug tools (#2505) 2025-10-08 14:27:51 -07:00
shutil_backport.py Upgrade to latest Black, closes #2239 2024-01-30 19:55:26 -08:00
sqlite.py Show pysqlite3 version on /-/versions, if installed - #1125 2020-12-03 14:08:50 -08:00
testing.py Fixed bug with ?_trace=1 and large responses, closes #2404 2024-08-21 10:58:17 -07:00