{"html_url": "https://github.com/simonw/datasette/issues/1956#issuecomment-1352075845", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1956", "id": 1352075845, "node_id": "IC_kwDOBm6k_c5QlwpF", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-12-14T19:57:17Z", "updated_at": "2022-12-14T19:58:22Z", "author_association": "OWNER", "body": "I'm going to test this using calls to `ds.permission_allowed()` with an actor with `_r` block.\r\n\r\nI can add extra tests to https://github.com/simonw/datasette/blob/1a3dcf494376e32f7cff110c86a88e5b0a3f3924/tests/test_permissions.py#L605-L616", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1497288666, "label": "Handle abbreviations properly in permission_allowed_actor_restrictions"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1956#issuecomment-1352070655", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1956", "id": 1352070655, "node_id": "IC_kwDOBm6k_c5QlvX_", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-12-14T19:54:36Z", "updated_at": "2022-12-14T19:54:36Z", "author_association": "OWNER", "body": "Also this code should work with non-abbreviations too.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1497288666, "label": "Handle abbreviations properly in permission_allowed_actor_restrictions"}, "performed_via_github_app": null}