Skip to content

Set config before testing query filter exception

Created by: Henrik tom Wörden

See tests/test_permissions.py:248

The test should not fail with a "wrong" config. Either disable the test if QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS = FALSE or set the server config. example for setting config:

from caosdb import administration as admin
admin.set_server_property("AUTH_OPTIONAL", "FALSE")
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information