mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
check team permissions if attaching user roles
This commit is contained in:
@@ -30,4 +30,3 @@ def test_role_access_attach(rando, inventory):
|
||||
inventory.read_role.members.add(rando)
|
||||
access = RoleAccess(rando)
|
||||
assert not access.can_attach(inventory.admin_role, rando, 'members', None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user