From 23d483874c0ed4f8bc031c7a38e1f70f032e542c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 11 Jun 2025 04:22:53 -0500 Subject: Fix failing tests: add new privilege to group-leader. --- tests/unit/auth/test_roles.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/unit/auth/test_roles.py') diff --git a/tests/unit/auth/test_roles.py b/tests/unit/auth/test_roles.py index c364549..43d84e4 100644 --- a/tests/unit/auth/test_roles.py +++ b/tests/unit/auth/test_roles.py @@ -114,6 +114,10 @@ def test_create_role_raises_exception_for_unauthorised_users(# pylint: disable=[ role_name="group-leader", user_editable=False, privileges=( + Privilege( + "group:data:link-to-group", + "Allow linking data to only one specific group."), + Privilege( privilege_id="group:resource:create-resource", privilege_description="Create a resource object"), -- cgit v1.2.3