mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 21:49:27 -02:30
Merge pull request #1502 from wwitzel3/rbac-feature-1324
Update docs, driveby test fix.
This commit is contained in:
@@ -15,6 +15,7 @@ def test_custom_inv_script_access(organization, user):
|
||||
|
||||
custom_inv = CustomInventoryScript.objects.create(name='test', script='test', description='test')
|
||||
custom_inv.organization = organization
|
||||
custom_inv.save()
|
||||
assert not custom_inv.accessible_by(u, {'read':True})
|
||||
|
||||
organization.member_role.members.add(u)
|
||||
|
||||
Reference in New Issue
Block a user