Merge pull request #1502 from wwitzel3/rbac-feature-1324

Update docs, driveby test fix.
This commit is contained in:
Wayne Witzel III
2016-04-12 13:32:56 -04:00
2 changed files with 24 additions and 24 deletions

View File

@@ -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)