issue_comments
8 rows where author_association = "OWNER", issue = 1396948693 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Table/database that is private due to inherited permissions does not show padlock · 8 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
1288321630 | https://github.com/simonw/datasette/issues/1829#issuecomment-1288321630 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5Myjpe | simonw 9599 | 2022-10-24T02:22:49Z | 2022-10-24T02:23:46Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 | ||
1288320411 | https://github.com/simonw/datasette/issues/1829#issuecomment-1288320411 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5MyjWb | simonw 9599 | 2022-10-24T02:21:19Z | 2022-10-24T02:21:19Z | OWNER | Updated docs for |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 | |
1288308945 | https://github.com/simonw/datasette/issues/1829#issuecomment-1288308945 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5MygjR | simonw 9599 | 2022-10-24T02:07:50Z | 2022-10-24T02:07:50Z | OWNER | Useful test: if you sign in as root to https://latest.datasette.io/_internal/columns/_internal,columns,database_name you can see there's no padlock icon on that page or on https://latest.datasette.io/_internal/columns - fixing this bug should fix that. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 | |
1278302478 | https://github.com/simonw/datasette/issues/1829#issuecomment-1278302478 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5MMVkO | simonw 9599 | 2022-10-14T00:06:19Z | 2022-10-14T00:06:19Z | OWNER | I'll finish this in a PR: - https://github.com/simonw/datasette/pull/1842 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 | |
1278300241 | https://github.com/simonw/datasette/issues/1829#issuecomment-1278300241 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5MMVBR | simonw 9599 | 2022-10-14T00:03:52Z | 2022-10-14T00:04:28Z | OWNER | Here's what I've got so far: ```diff diff --git a/datasette/app.py b/datasette/app.py index 5fa4955c..df9eae49 100644 --- a/datasette/app.py +++ b/datasette/app.py @@ -1,5 +1,5 @@ import asyncio -from typing import Sequence, Union, Tuple +from typing import Sequence, Union, Tuple, Optional import asgi_csrf import collections import datetime @@ -707,7 +707,7 @@ class Datasette:
Also this fix is currently only applied on the table page - needs to be applied on database, row and query pages too. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 | |
1278237331 | https://github.com/simonw/datasette/issues/1829#issuecomment-1278237331 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5MMFqT | simonw 9599 | 2022-10-13T22:17:45Z | 2022-10-13T22:19:22Z | OWNER | I think |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 | |
1267709546 | https://github.com/simonw/datasette/issues/1829#issuecomment-1267709546 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5Lj7Zq | simonw 9599 | 2022-10-04T23:19:24Z | 2022-10-04T23:21:07Z | OWNER | There's also a And is defined here: https://github.com/simonw/datasette/blob/4218c9cd742b79b1e3cb80878e42b7e39d16ded2/datasette/app.py#L694-L710 It's actually documented as a public method here: https://docs.datasette.io/en/stable/internals.html#await-check-visibility-actor-action-resource-none
Note that this documented method cannot actually do the right thing - because it's not being given the multiple permissions that need to be checked in order to completely answer the question. So I probably need to redesign that method a bit. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 | |
1267708232 | https://github.com/simonw/datasette/issues/1829#issuecomment-1267708232 | https://api.github.com/repos/simonw/datasette/issues/1829 | IC_kwDOBm6k_c5Lj7FI | simonw 9599 | 2022-10-04T23:17:36Z | 2022-10-04T23:17:36Z | OWNER | Here's the relevant code from the table page: Note how Here's the same code for the database page: And for canned query pages: |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table/database that is private due to inherited permissions does not show padlock 1396948693 |
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