mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed actor_matches_allow bug, closes #836
This commit is contained in:
parent
29c5ff493a
commit
f39f111331
2 changed files with 3 additions and 1 deletions
|
|
@ -884,7 +884,7 @@ def actor_matches_allow(actor, allow):
|
|||
values = [values]
|
||||
actor_values = actor.get(key)
|
||||
if actor_values is None:
|
||||
return False
|
||||
continue
|
||||
if not isinstance(actor_values, list):
|
||||
actor_values = [actor_values]
|
||||
actor_values = set(actor_values)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue