From e4a144239ef3de0d18a7f03bd9d8811cf1644212 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Fri, 16 Aug 2024 15:22:32 -0400 Subject: [PATCH] Add docstring to test. No-Issue Signed-off-by: James Tanner --- galaxy_ng/tests/integration/dab/test_dab_rbac.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/galaxy_ng/tests/integration/dab/test_dab_rbac.py b/galaxy_ng/tests/integration/dab/test_dab_rbac.py index 086090be19..918171ec11 100644 --- a/galaxy_ng/tests/integration/dab/test_dab_rbac.py +++ b/galaxy_ng/tests/integration/dab/test_dab_rbac.py @@ -440,6 +440,17 @@ def test_dab_user_assignment_filtering_as_user( random_namespace, random_username, ): + """ + Integration test to assert a user can be assigned as the owner + of a namespace and then also be able to query their role assignments. + + * This assumes there is a galaxy.collection_namespace_owner roledef + and that it has a content type defined. + * This also assumes the role_user_assignments endpoint is user + accessible and filterable. + * The role_user_assignments endpoint behaves differently for + evaluating a superuser vs a user for access. + """ if settings.get('ALLOW_LOCAL_RESOURCE_MANAGEMENT') is False: pytest.skip("this test relies on local resource creation")