home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1343751261

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/1939#issuecomment-1343751261 https://api.github.com/repos/simonw/datasette/issues/1939 1343751261 IC_kwDOBm6k_c5QGARd 9599 2022-12-09T02:17:14Z 2022-12-09T02:17:14Z OWNER One option: ```python async def action_allowed(self, actor, action, database=None, resource=None): ``` `action_allowed` fixes the `permission` v.s. `action` thing a bit, and is a new name that doesn't clash with the existing method. I dropped `default` because that's now a property of the permission itself. `table` is now called `resource` and `database` is a separate parameter. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1485757511  
Powered by Datasette · Queries took 0.841ms