updater_role -> update_role

This commit is contained in:
Wayne Witzel III
2016-04-15 11:01:35 -04:00
parent 7098ef8da5
commit d508254742
7 changed files with 22 additions and 22 deletions

View File

@@ -106,7 +106,7 @@ class Inventory(CommonModel, ResourceMixin):
role_description='May view but not modify this inventory',
parent_role='organization.auditor_role',
)
updater_role = ImplicitRoleField(
update_role = ImplicitRoleField(
role_name='Inventory Updater',
role_description='May update the inventory',
)
@@ -525,9 +525,9 @@ class Group(CommonModelNameNotUnique, ResourceMixin):
role_name='Inventory Group Auditor',
parent_role=['inventory.auditor_role', 'parents.auditor_role'],
)
updater_role = ImplicitRoleField(
update_role = ImplicitRoleField(
role_name='Inventory Group Updater',
parent_role=['inventory.updater_role', 'parents.updater_role'],
parent_role=['inventory.update_role', 'parents.updater_role'],
)
execute_role = ImplicitRoleField(
role_name='Inventory Group Executor',