Add Credential Admin role

This commit is contained in:
Wayne Witzel III
2018-01-26 15:43:00 +00:00
parent 6c951aa883
commit 109841c350
4 changed files with 7 additions and 2 deletions

View File

@@ -262,7 +262,7 @@ class Credential(PasswordFieldsModel, CommonModelNameNotUnique, ResourceMixin):
admin_role = ImplicitRoleField(
parent_role=[
'singleton:' + ROLE_SINGLETON_SYSTEM_ADMINISTRATOR,
'organization.admin_role',
'organization.credential_admin_role',
],
)
use_role = ImplicitRoleField(