mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
dfafce6d96
commit
194e4f6c3f
6 changed files with 16 additions and 22 deletions
|
|
@ -20,7 +20,7 @@ class IndexView(BaseView):
|
|||
|
||||
async def get(self, request):
|
||||
as_format = request.url_vars["format"]
|
||||
await self.check_permission(request, "view-instance")
|
||||
await self.ds.ensure_permissions(request.actor, ["view-instance"])
|
||||
databases = []
|
||||
for name, db in self.ds.databases.items():
|
||||
visible, database_private = await check_visibility(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue