home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 636388288

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/699#issuecomment-636388288 https://api.github.com/repos/simonw/datasette/issues/699 636388288 MDEyOklzc3VlQ29tbWVudDYzNjM4ODI4OA== 9599 2020-05-30T21:34:50Z 2020-05-30T21:34:50Z OWNER

Debugging permissions is going to be important. Optional tooling that supports the following would be useful:

  • Log every check to permission_allowed to the console - optionally with tracebacks showing where in the code the check was made
  • Log every check to the https://latest.datasette.io/?_trace=1 output
  • A tool that shows you exactly what permissions the current authenticated user/entity has
  • A tool showing all available permissions

That last one is tricky if permissions are just strings that might be passed to permission_allowed - so maybe there needs to be a plugin hook that lets plugins register their permissions, such that they can be introspected later on? A register_permission_actions() hook that returns a list of permission action strings (or objects of some sort) perhaps.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
582526961  
Powered by Datasette · Queries took 0.882ms · About: github-to-sqlite