datasette/datasette/templates
Simon Willison 5c6b76f2f0 Migrate views from ds.permissions to ds.actions, refs #2528
Updates all permission debugging views to use the new ds.actions dict
instead of the old ds.permissions dict. Changes include:

- Replace all ds.permissions references with ds.actions
- Update field references: takes_database/takes_resource → takes_parent/takes_child
- Remove default field from permission display
- Rename sorted_permissions to sorted_actions in templates
- Remove source_plugin from SQL queries and responses
- Update test expectations to not check for source_plugin field

This aligns the views with the new Action dataclass structure.
2025-10-25 15:38:07 -07:00
..
_action_menu.html Refactored action menus to a shared include, closes #2301 2024-03-12 16:35:34 -07:00
_close_open_menus.html details-menu class to avoid accidential details closure 2022-11-13 13:06:58 -08:00
_codemirror.html Remove min-height on CodeMirror, closes #1899 2022-11-17 23:21:00 -08:00
_codemirror_foot.html Use DOMContentLoaded instead of load event for CodeMirror initialization. Closes #1894 (#1898) 2022-11-17 23:29:00 -08:00
_crumbs.html Refactor breadcrumbs to respect permissions, refs #1831 2022-10-13 14:42:52 -07:00
_debug_common_functions.html Refactor debug templates to use shared JavaScript functions 2025-10-08 21:53:34 -07:00
_description_source_license.html ?_extra= support and TableView refactor to table_view 2023-03-22 15:49:39 -07:00
_facet_results.html Fix for datalist against foreign key facets 2022-11-17 17:23:35 -08:00
_footer.html Queries took rather than query took, closes #1572 2021-12-18 20:03:21 -08:00
_permission_ui_styles.html New allowed_resources_sql plugin hook and debug tools (#2505) 2025-10-08 14:27:51 -07:00
_suggested_facets.html ?_extra= support and TableView refactor to table_view 2023-03-22 15:49:39 -07:00
_table.html JavaScript Plugin API, providing custom panels and column menu items 2023-10-12 17:00:27 -07:00
allow_debug.html New .core CSS class for inputs and buttons 2024-09-03 08:37:26 -07:00
api_explorer.html New .core CSS class for inputs and buttons 2024-09-03 08:37:26 -07:00
base.html Implement resource-based permission system with SQL-driven access control 2025-10-24 10:32:18 -07:00
create_token.html New .core CSS class for inputs and buttons 2024-09-03 08:37:26 -07:00
csrf_error.html Missing template from previous commit, refs #2389 2024-08-14 21:32:57 -07:00
database.html Better breadcrumbs on database and table page, closes #2454 2025-01-09 10:07:03 -08:00
debug_allowed.html Refactor debug templates to use shared JavaScript functions 2025-10-08 21:53:34 -07:00
debug_check.html Migrate views from ds.permissions to ds.actions, refs #2528 2025-10-25 15:38:07 -07:00
debug_rules.html Migrate views from ds.permissions to ds.actions, refs #2528 2025-10-25 15:38:07 -07:00
error.html Refactor breadcrumbs to respect permissions, refs #1831 2022-10-13 14:42:52 -07:00
index.html Fix for spacing on index page, closes #2399 2024-08-20 09:36:02 -07:00
logout.html New .core CSS class for inputs and buttons 2024-09-03 08:37:26 -07:00
messages_debug.html New .core CSS class for inputs and buttons 2024-09-03 08:37:26 -07:00
patterns.html header.hd and footer.ft, refs #2420 2024-09-05 19:57:27 -07:00
permissions_debug.html Migrate views from ds.permissions to ds.actions, refs #2528 2025-10-25 15:38:07 -07:00
query.html New .core CSS class for inputs and buttons 2024-09-03 08:37:26 -07:00
row.html Refactored action menus to a shared include, closes #2301 2024-03-12 16:35:34 -07:00
show_json.html Refactor breadcrumbs to respect permissions, refs #1831 2022-10-13 14:42:52 -07:00
table.html Better breadcrumbs on database and table page, closes #2454 2025-01-09 10:07:03 -08:00