Skip to content
Snippets Groups Projects
Commit 4739abe2 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: make sure correct server setting is used

parent c7cd3b4d
No related branches found
No related tags found
1 merge request!69TST: Add xfailing tests for the permissions for referenced entities
Pipeline #44463 passed
......@@ -1205,7 +1205,7 @@ def test_query_with_invisible_reference():
filters.
"""
db.administration.set_server_property(
"QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS", "FALSE")
"QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS", "TRUE")
rt = db.RecordType(name="TestRT").insert()
rec_invisible = db.Record(name="TestInvisible").add_parent(rt).insert()
......
......@@ -1101,6 +1101,8 @@ def test_query_cache():
def test_query_cache_with_permissions():
db.administration.set_server_property(
"QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS", "TRUE")
db.RecordType("TestRT").insert()
db.RecordType("TestRT2").insert()
public_record = db.Record().add_parent("TestRT").insert()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment