home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1397734424

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/1989#issuecomment-1397734424 https://api.github.com/repos/simonw/datasette/issues/1989 1397734424 IC_kwDOBm6k_c5TT7wY 9599 2023-01-19T23:18:45Z 2023-01-19T23:18:45Z OWNER There's a `?_nocol=x` argument you can use to hide a column when you link to a table, but that won't help you if you need to hide the column for privacy reasons: https://docs.datasette.io/en/latest/json_api.html#special-table-arguments One solution right now is to define a SQL view for the things that you DO want people to be able to see, and then use Datasette's permission system to hide the tables (`'"allow": false` in metadata for each table) but show the views. If you want to redact specific columns there's a plugin for doing that: https://datasette.io/plugins/datasette-mask-columns This does make sense as more of a core Datasette feature though - tagging it as a feature suggestion. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1531991339  
Powered by Datasette · Queries took 0.841ms