mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed view-row permission, for the moment - refs #811
https://github.com/simonw/datasette/issues/811#issuecomment-640338347
This commit is contained in:
parent
cd92e4fe2a
commit
613fa551a1
3 changed files with 0 additions and 17 deletions
|
|
@ -851,9 +851,6 @@ class RowView(RowTableShared):
|
|||
await self.check_permission(request, "view-instance")
|
||||
await self.check_permission(request, "view-database", "database", database)
|
||||
await self.check_permission(request, "view-table", "table", (database, table))
|
||||
await self.check_permission(
|
||||
request, "view-row", "row", tuple([database, table] + list(pk_values))
|
||||
)
|
||||
db = self.ds.databases[database]
|
||||
pks = await db.primary_keys(table)
|
||||
use_rowid = not pks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue