mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Foreign key label expanding respects table permissions, closes #2178
This commit is contained in:
parent
2200abfa17
commit
dbfad6d220
4 changed files with 63 additions and 3 deletions
|
|
@ -1144,7 +1144,7 @@ async def table_view_data(
|
|||
# Expand them
|
||||
expanded_labels.update(
|
||||
await datasette.expand_foreign_keys(
|
||||
database_name, table_name, column, values
|
||||
request.actor, database_name, table_name, column, values
|
||||
)
|
||||
)
|
||||
if expanded_labels:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue