mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Respect query permissions on database page, refs #800
This commit is contained in:
parent
14f6b4d200
commit
3f83d4632a
5 changed files with 47 additions and 3 deletions
|
|
@ -857,6 +857,7 @@ def call_with_supported_arguments(fn, **kwargs):
|
|||
|
||||
|
||||
def actor_matches_allow(actor, allow):
|
||||
actor = actor or {}
|
||||
if allow is None:
|
||||
return True
|
||||
for key, values in allow.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue