mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Added read_role to credential
This commit is contained in:
parent
8c8c8a624f
commit
1fa70106d8
@ -186,6 +186,13 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique, ResourceMixin):
|
||||
role_name='Credential User',
|
||||
role_description='May use this credential, but not read sensitive portions or modify it',
|
||||
)
|
||||
read_role = ImplicitRoleField(
|
||||
role_name='Credential REad',
|
||||
role_description='May read this credential',
|
||||
parent_role=[
|
||||
'use_role', 'auditor_role', 'owner_role'
|
||||
],
|
||||
)
|
||||
|
||||
@property
|
||||
def needs_ssh_password(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user