mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
cover testing of new 3.3 org roles for user security fix
This commit is contained in:
@@ -67,6 +67,7 @@ def test_org_user_role_attach(user, organization, inventory):
|
||||
|
||||
role_access = RoleAccess(admin)
|
||||
assert not role_access.can_attach(organization.member_role, nonmember, 'members', None)
|
||||
assert not role_access.can_attach(organization.notification_admin_role, nonmember, 'members', None)
|
||||
assert not role_access.can_attach(organization.admin_role, nonmember, 'members', None)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user