issue_comments: 1350218177
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/1951#issuecomment-1350218177 | https://api.github.com/repos/simonw/datasette/issues/1951 | 1350218177 | IC_kwDOBm6k_c5QerHB | 9599 | 2022-12-14T01:27:45Z | 2022-12-14T01:30:41Z | OWNER | Some sketches: ```python Token for root usertoken = datasette.create_token("root") Expiring in an hourtoken = datasette.create_token("root", expires_after=3600)
Limited to view-query and view-tabletoken = datasette.create_token("root", expires_after=3600, all=("view-query", "view-table")) I'm not sure about that all= nameLimits within a specific database:token = datasette.create_token("root", expires_after=3600, databases={ "fixtures": ("view-query",) }) And specific tables:token = datasette.create_token("root", expires_after=3600, tables={ "fixtures": { "facetable": ("insert-row", "update-row") } }) ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
1495431932 |