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

@@ -214,7 +214,7 @@ def migrate_inventory(apps, schema_editor):
elif perm.permission_type == 'read':
return inventory.auditor_role
elif perm.permission_type == 'write':
return inventory.updater_role
return inventory.update_role
elif perm.permission_type == 'check' or perm.permission_type == 'run':
# These permission types are handled differntly in RBAC now, nothing to migrate.
return False