issue_comments: 639784651
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/698#issuecomment-639784651 | https://api.github.com/repos/simonw/datasette/issues/698 | 639784651 | MDEyOklzc3VlQ29tbWVudDYzOTc4NDY1MQ== | 9599 | 2020-06-05T20:25:02Z | 2020-06-05T20:25:02Z | OWNER | Idea: default is anyone can execute a query. Or you can specify the following: ```json { "databases": { "my-database": { "queries": { "add_twitter_handle": { "sql": "insert into twitter_handles (username) values (:username)", "write": true, "allow": { "id": ["simon"], "role": ["staff"] } } } } } } ``` These get matched against the actor JSON. If any of the fields in any of the keys of `"allow"` match a key on the actor, the query is allowed. `"id": "*"` matches any actor with an `id` key. | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 582517965 |