We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d44dfee commit 1914dc3Copy full SHA for 1914dc3
server/mergin/tests/test_permissions.py
@@ -154,7 +154,11 @@ def test_permissions_require_project_by_many_uuids(client):
154
assert len(items) == 2
155
assert all(not isinstance(i, dict) for i in items)
156
157
+ # Reset global permissions for subsequent tests
158
Configuration.GLOBAL_READ = False
159
+ Configuration.GLOBAL_WRITE = False
160
+ Configuration.GLOBAL_ADMIN = False
161
+
162
# Second user with no access to private project
163
user2 = add_user("user_batch", "password")
164
login(client, user2.username, "password")
0 commit comments