{"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-599703452", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 599703452, "node_id": "MDEyOklzc3VlQ29tbWVudDU5OTcwMzQ1Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-16T18:49:31Z", "updated_at": "2020-03-16T18:49:31Z", "author_association": "OWNER", "body": "Also relevant: this will benefit from an authentication/permissions layer: #699", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-599697164", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 599697164, "node_id": "MDEyOklzc3VlQ29tbWVudDU5OTY5NzE2NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-16T18:35:04Z", "updated_at": "2020-03-16T18:35:27Z", "author_association": "OWNER", "body": "By default this will extract the `:params` using the existing regular expression - which can occasionally break if there is a rogue `:` in the rest of the query.\r\n\r\nTo address this: allow an extra optional `\"params\": [\"username\"]` field in metadata which, if available, is used instead of the regular expression extraction.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-639779403", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 639779403, "node_id": "MDEyOklzc3VlQ29tbWVudDYzOTc3OTQwMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-05T20:20:12Z", "updated_at": "2020-06-05T20:20:12Z", "author_association": "OWNER", "body": "CSRF is done. Last step: figure out a smart way to integrate this with permissions and authentication.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-621037724", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 621037724, "node_id": "MDEyOklzc3VlQ29tbWVudDYyMTAzNzcyNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-29T07:34:02Z", "updated_at": "2020-04-29T07:34:02Z", "author_association": "OWNER", "body": "Concept for displaying a success message:\r\n\r\n\"fixtures__compound_three_primary_keys__1_001_rows\"\r\nCSS:\r\n\r\n```css\r\n.success {\r\n padding: 1em;\r\n border: 1px solid green;\r\n background-color: #c7fbc7;\r\n}", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-636617140", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 636617140, "node_id": "MDEyOklzc3VlQ29tbWVudDYzNjYxNzE0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-01T05:14:39Z", "updated_at": "2020-06-01T05:14:39Z", "author_association": "OWNER", "body": "Here's the new `default_permissions.py` file I can add this permission check to: https://github.com/simonw/datasette/blob/dfdbdf378aba9afb66666f66b78df2f2069d2595/datasette/default_permissions.py#L1-L7", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-599704655", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 599704655, "node_id": "MDEyOklzc3VlQ29tbWVudDU5OTcwNDY1NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-03-16T18:52:23Z", "updated_at": "2020-03-16T18:52:23Z", "author_association": "OWNER", "body": "I have code for form parsing in `asgi-csrf`: https://github.com/simonw/asgi-csrf/blob/3fc164a9258ebfa616d4e724fcb102b117277c6e/asgi_csrf.py#L91-L109", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 582517965, "label": "Ability for a canned query to write to the database"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/698#issuecomment-608125928", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/698", "id": 608125928, "node_id": "MDEyOklzc3VlQ29tbWVudDYwODEyNTkyOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-04-02T22:32:41Z", "updated_at": "2020-04-02T22:33:10Z", "author_association": "OWNER", "body": "I really want the option to use a `