mirror of
https://github.com/simonw/datasette.git
synced 2026-09-11 19:14:07 +02:00
Inherit source permissions for FTS vocabulary tables
This commit is contained in:
parent
d334539a1e
commit
3f8d8417f6
4 changed files with 207 additions and 7 deletions
|
|
@ -1382,6 +1382,11 @@ view-table
|
|||
|
||||
Actor is allowed to view a table (or view) page, e.g. https://latest.datasette.io/fixtures/complex_foreign_keys
|
||||
|
||||
FTS vocabulary tables (``fts5vocab`` and ``fts4aux``) also require access to
|
||||
their source FTS table and, for an external-content index, its content table.
|
||||
The vocabulary table's own permission rules still apply. Vocabulary tables
|
||||
whose source cannot be resolved within the same SQLite schema are denied.
|
||||
|
||||
``resource`` - ``datasette.resources.TableResource(database, table)``
|
||||
``database`` is the name of the database (string)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue