home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1350013016

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/1947#issuecomment-1350013016 https://api.github.com/repos/simonw/datasette/issues/1947 1350013016 IC_kwDOBm6k_c5Qd5BY 9599 2022-12-13T23:16:24Z 2022-12-13T23:17:17Z OWNER

Slightly tricky thing here is that it should only show permissions that the user themselves has - on databases and tables that they have permission to access.

I have a nasty feeling this may require looping through everything and running every permission check, which could get very expensive if there are plugins involved that do their own storage check to resolve a permission.

It's that classic permission system problem: how to efficiently iterate through everything the user has permission to do in one go?

Might be that I have to punt on that, and show the user a list of permissions to select that they might not actually have ability for.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
1493390939  
Powered by Datasette · Queries took 4.591ms · About: github-to-sqlite