mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
view-database permission
Also now using 🔒 to indicate private resources - resources that would not be available to the anonymous user. Refs #811
This commit is contained in:
parent
613fa551a1
commit
9b42e1a4f5
8 changed files with 69 additions and 16 deletions
|
|
@ -207,10 +207,7 @@ def test_row_page_does_not_truncate():
|
|||
assert response.status == 200
|
||||
assert_permissions_checked(
|
||||
client.ds,
|
||||
[
|
||||
"view-instance",
|
||||
("view-table", "table", ("fixtures", "facetable")),
|
||||
],
|
||||
["view-instance", ("view-table", "table", ("fixtures", "facetable")),],
|
||||
)
|
||||
table = Soup(response.body, "html.parser").find("table")
|
||||
assert table["class"] == ["rows-and-columns"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue