mirror of
https://github.com/ansible/awx.git
synced 2026-02-04 19:18:13 -03:30
Handle JT "create" permissions during migration
This commit is contained in:
@@ -201,7 +201,7 @@ def migrate_inventory(apps, schema_editor):
|
||||
return inventory.auditor_role
|
||||
elif perm.permission_type == 'write':
|
||||
return inventory.update_role
|
||||
elif perm.permission_type == 'check' or perm.permission_type == 'run':
|
||||
elif perm.permission_type == 'check' or perm.permission_type == 'run' or perm.permission_type == 'create':
|
||||
# These permission types are handled differntly in RBAC now, nothing to migrate.
|
||||
return False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user