mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Move assert_permissions_checked() calls from test_html.py to test_permissions.py, refs #811
This commit is contained in:
parent
e18f8c3f87
commit
cc218fa9be
3 changed files with 52 additions and 51 deletions
|
|
@ -298,7 +298,7 @@ class Datasette:
|
|||
pm.hook.prepare_jinja2_environment(env=self.jinja_env)
|
||||
|
||||
self._register_renderers()
|
||||
self._permission_checks = collections.deque(maxlen=30)
|
||||
self._permission_checks = collections.deque(maxlen=200)
|
||||
self._root_token = os.urandom(32).hex()
|
||||
|
||||
def sign(self, value, namespace="default"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue