issues: 770598024

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app
770598024 MDU6SXNzdWU3NzA1OTgwMjQ= 1152 Efficiently calculate list of databases/tables a user can view 9599 open 0     11 2020-12-18T06:13:01Z 2021-01-04T23:34:30Z   OWNER  

The homepage currently performs a massive flurry of permission checks - one for each, database, table and view: https://github.com/simonw/datasette/blob/0.53/datasette/views/index.py#L21-L75

A paginated version of this is a little daunting as the permission checks would have to be carried out in every single table just to calculate the count that will be paginated.

_Originally posted by @simonw in https://github.com/simonw/datasette/issues/1150#issuecomment-747864831_

107914493 issue    

Links from other tables