mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Added permission check to every view, closes #808
This commit is contained in:
parent
bd4de0647d
commit
86dec9e8ff
13 changed files with 220 additions and 2 deletions
|
|
@ -13,6 +13,10 @@ class NotFound(Exception):
|
|||
pass
|
||||
|
||||
|
||||
class Forbidden(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class Request:
|
||||
def __init__(self, scope, receive):
|
||||
self.scope = scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue