mirror of
https://github.com/simonw/datasette.git
synced 2026-07-09 00:54:35 +02:00
Precompute action permissions for table pages
- Extract reusable helpers for database and table action permission preloading. - Precompute those permissions before building table-page HTML data. - Document the default table actions plugin.
This commit is contained in:
parent
c9c79fdfc8
commit
4115213e17
4 changed files with 65 additions and 25 deletions
|
|
@ -280,6 +280,15 @@ If you run ``datasette plugins --all`` it will include default plugins that ship
|
|||
"query_actions"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.default_table_actions",
|
||||
"static": false,
|
||||
"templates": false,
|
||||
"version": null,
|
||||
"hooks": [
|
||||
"table_actions"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "datasette.events",
|
||||
"static": false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue