1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

org auditor should be able to read credential

This commit is contained in:
Wayne Witzel III 2016-06-21 16:07:11 -04:00
parent 868b6b7e36
commit b4148313a0

View File

@ -225,9 +225,9 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique, ResourceMixin):
)
read_role = ImplicitRoleField(parent_role=[
'singleton:' + ROLE_SINGLETON_SYSTEM_AUDITOR,
'organization.auditor_role',
'use_role',
'owner_role',
'organization.auditor_role',
])
@property