issue_comments
20 rows where issue = 1485757511 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- register_permissions(datasette) plugin hook · 20 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
1347646516 | https://github.com/simonw/datasette/issues/1939#issuecomment-1347646516 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QU3Q0 | simonw 9599 | 2022-12-13T02:07:50Z | 2022-12-13T02:07:50Z | OWNER | Documentation for the new hook: https://docs.datasette.io/en/latest/plugin_hooks.html#register-permissions-datasette |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1345691103 | https://github.com/simonw/datasette/issues/1939#issuecomment-1345691103 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QNZ3f | simonw 9599 | 2022-12-11T23:37:49Z | 2022-12-11T23:37:49Z | OWNER | Idea: a |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343872168 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343872168 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGdyo | simonw 9599 | 2022-12-09T05:29:53Z | 2022-12-09T05:29:53Z | OWNER | I'm going to address those ideas for changes to the What would it take for the I think it's mainly that the list of permissions it provides should Do More Stuff:
Then I can use the permissions - in particular their metadata - to help implement his:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343858998 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343858998 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGak2 | simonw 9599 | 2022-12-09T05:12:17Z | 2022-12-09T05:12:17Z | OWNER | Draft docs for the new plugin hook: https://datasette--1940.org.readthedocs.build/en/1940/plugin_hooks.html#register-permissions-datasette |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343856781 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343856781 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGaCN | simonw 9599 | 2022-12-09T05:10:00Z | 2022-12-09T05:10:00Z | OWNER | Made a draft PR so ReadTheDocs would deploy my new documentation somewhere. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343844555 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343844555 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGXDL | simonw 9599 | 2022-12-09T04:48:28Z | 2022-12-09T04:48:28Z | OWNER | I'm going to try a spike in a branch with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343844112 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343844112 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGW8Q | simonw 9599 | 2022-12-09T04:47:28Z | 2022-12-09T04:47:28Z | OWNER | I think I never really liked those plugin hook names much to be honest, especially since they are inconsistent with |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343843352 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343843352 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGWwY | simonw 9599 | 2022-12-09T04:45:50Z | 2022-12-09T04:45:50Z | OWNER | Another option:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343842362 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343842362 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGWg6 | simonw 9599 | 2022-12-09T04:43:38Z | 2022-12-09T04:43:38Z | OWNER | Asked ChatGPT for some alternative names, I didn't like any of them:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343753386 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343753386 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGAyq | simonw 9599 | 2022-12-09T02:20:20Z | 2022-12-09T02:21:01Z | OWNER | It's also referenced in this plugin hook:
@hookspec def database_actions(datasette, actor, database, request): """Links for the database actions menu""" ``` So the word "action" is already used within Datasette to refer to those things - which are almost but not quite the same as actions-as-permissions: many of the things that show up in those menus relate to permissions the user has, but not necessarily all of them. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343751860 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343751860 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGAa0 | simonw 9599 | 2022-12-09T02:18:11Z | 2022-12-09T02:19:23Z | OWNER | Should I rename "permission" to "action" elsewhere too? Maybe have a What else could the word "action" mean? Currently it's used in the codebase to refer to GitHub Actions, and for code like this:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343751261 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343751261 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QGARd | simonw 9599 | 2022-12-09T02:17:14Z | 2022-12-09T02:17:14Z | OWNER | One option:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343749617 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343749617 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF_3x | simonw 9599 | 2022-12-09T02:15:54Z | 2022-12-09T02:15:54Z | OWNER | What if I came up with a new method name for this, which could co-exist with the old one while that old one was deprecated? |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343744338 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343744338 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF-lS | simonw 9599 | 2022-12-09T02:08:42Z | 2022-12-09T02:08:42Z | OWNER | Extracted a TIL: https://til.simonwillison.net/github/github-code-search-api-uses |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343734812 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343734812 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF8Qc | simonw 9599 | 2022-12-09T01:57:07Z | 2022-12-09T01:57:07Z | OWNER | This search is better:
That returns 11 results: https://cs.github.com/?scopeName=All+repos&scope=&q=datasette+permission_allowed+-user%3Asimonw+-path%3Adatasette%2F+-path%3Adocs%2F+-path%3Atests%2F**+language%3Apython 3 are forks of my repos. The rest are all by four users: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343728929 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343728929 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF60h | simonw 9599 | 2022-12-09T01:48:11Z | 2022-12-09T01:52:33Z | OWNER | This code search shows a bunch of repos I don't know about that would be affected by this change: https://cs.github.com/?scopeName=All+repos&scope=&q=datasette+permission_allowed+-user%3Asimonw# These (and likely more): Repositories
Actually a lot of those are forks of Datasette itself - so maybe this is manageable? Would be nice if I could come up with a GitHub search that excluded any repos with "datasette" as their exact name.
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343727184 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343727184 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF6ZQ | simonw 9599 | 2022-12-09T01:45:15Z | 2022-12-09T01:45:15Z | OWNER | Moving the concept of the default for the permission into this registry warrants a redesign of this method anyway: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343724732 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343724732 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF5y8 | simonw 9599 | 2022-12-09T01:40:44Z | 2022-12-09T01:43:25Z | OWNER |
A question that was raised by the work in #1938 is whether you should be able to grant a permission like So maybe One thought is to use |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343722020 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343722020 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF5Ik | simonw 9599 | 2022-12-09T01:36:05Z | 2022-12-09T01:36:16Z | OWNER | I originally added
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 | |
1343721522 | https://github.com/simonw/datasette/issues/1939#issuecomment-1343721522 | https://api.github.com/repos/simonw/datasette/issues/1939 | IC_kwDOBm6k_c5QF5Ay | simonw 9599 | 2022-12-09T01:35:15Z | 2022-12-09T01:35:15Z | OWNER | One concern I have about this: there are a bunch of existing plugins that do stuff with permissions that won't currently be using this hook. Do I break those plugins, forcing new releases of them for compatibility with Datasette 1.0? Or maybe I keep them working, but until they've upgraded to register their permissions there are things about them that won't work - e.g. you won't be able to configure their permissions in Best thing is probably for me to get this working in core first and then evaluate the impact it would have on existing plugins once I have some running code. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_permissions(datasette) plugin hook 1485757511 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [issue] INTEGER REFERENCES [issues]([id]) , [performed_via_github_app] TEXT); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 1