mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Improved permissions UI WIP
This commit is contained in:
parent
b3721eaf50
commit
73014abe8b
12 changed files with 417 additions and 335 deletions
|
|
@ -1835,7 +1835,11 @@ class Datasette:
|
|||
)
|
||||
add_route(
|
||||
JsonDataView.as_view(
|
||||
self, "actions.json", self._actions, template="actions.html"
|
||||
self,
|
||||
"actions.json",
|
||||
self._actions,
|
||||
template="debug_actions.html",
|
||||
permission="permissions-debug",
|
||||
),
|
||||
r"/-/actions(\.(?P<format>json))?$",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue