mirror of
https://github.com/ansible/awx.git
synced 2026-07-12 00:44:36 -02:30
Extend test and fix to include the admin_role
This commit is contained in:
@@ -61,3 +61,4 @@ def test_org_user_role_attach(user, organization):
|
||||
|
||||
access = RoleAccess(admin)
|
||||
assert not access.can_attach(organization.member_role, nonmember, 'members', None)
|
||||
assert not access.can_attach(organization.admin_role, nonmember, 'members', None)
|
||||
|
||||
Reference in New Issue
Block a user