Merge pull request #1123 from wwitzel3/new-permissions

New RBAC Roles
This commit is contained in:
Wayne Witzel III
2018-02-15 16:56:03 -05:00
committed by GitHub
17 changed files with 281 additions and 69 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(