{"html_url": "https://github.com/simonw/datasette/issues/818#issuecomment-641026230", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/818", "id": 641026230, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MTAyNjIzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-09T04:50:24Z", "updated_at": "2020-06-09T04:50:24Z", "author_association": "OWNER", "body": "I'm dropping this from the 0.44 milestone.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 634917088, "label": "Example permissions plugin"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/818#issuecomment-641013524", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/818", "id": 641013524, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MTAxMzUyNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-09T03:57:38Z", "updated_at": "2020-06-09T04:00:24Z", "author_association": "OWNER", "body": "Problem with that is it's more of a `actor_from_request` opportunity than `permission_allowed`. You could use `actor_from_request` to authenticate API clients from their `Authorization:` header, then use the regular `\"allow\"` blocks in `metadata.json` to actually assign their permissions.\r\n\r\nThe most interesting permissions plugin would be one that implements permissions against some kind of database schema, hence allowing admins to edit permissions through writable canned queries.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 634917088, "label": "Example permissions plugin"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/818#issuecomment-641009744", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/818", "id": 641009744, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MTAwOTc0NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-09T03:43:18Z", "updated_at": "2020-06-09T03:43:18Z", "author_association": "OWNER", "body": "`datasette-auth-bearer` perhaps?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 634917088, "label": "Example permissions plugin"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/818#issuecomment-641009442", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/818", "id": 641009442, "node_id": "MDEyOklzc3VlQ29tbWVudDY0MTAwOTQ0Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-06-09T03:41:55Z", "updated_at": "2020-06-09T03:41:55Z", "author_association": "OWNER", "body": "I want to build a plugin that does `Authorization: Bearer xxx` API key authentication.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 634917088, "label": "Example permissions plugin"}, "performed_via_github_app": null}