aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth/test_privileges.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-06-11 04:22:53 -0500
committerFrederick Muriuki Muriithi2025-06-11 04:22:53 -0500
commit23d483874c0ed4f8bc031c7a38e1f70f032e542c (patch)
tree75e064663146a9173f0e4780b91a713b20d6ac93 /tests/unit/auth/test_privileges.py
parent293b8f2512367197897a95dd95e03e5af03719a4 (diff)
downloadgn-auth-23d483874c0ed4f8bc031c7a38e1f70f032e542c.tar.gz
Fix failing tests: add new privilege to group-leader.HEADmain
Diffstat (limited to 'tests/unit/auth/test_privileges.py')
-rw-r--r--tests/unit/auth/test_privileges.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/auth/test_privileges.py b/tests/unit/auth/test_privileges.py
index 619ccc1..9b2ea04 100644
--- a/tests/unit/auth/test_privileges.py
+++ b/tests/unit/auth/test_privileges.py
@@ -24,7 +24,10 @@ PRIVILEGES = sorted(
Privilege("group:resource:view-resource",
"view a resource and use it in computations"),
Privilege("group:resource:edit-resource", "edit/update a resource"),
- Privilege("group:resource:delete-resource", "Delete a resource")),
+ Privilege("group:resource:delete-resource", "Delete a resource"),
+
+ Privilege("group:data:link-to-group",
+ "Allow linking data to only one specific group.")),
key=sort_key_privileges)
@pytest.mark.unit_test