Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AlanCoding
Copy link
Member

SUMMARY

Firstly this is adding a test to assure we have Capital Letters.

We also want to be sure that anything that we ship has a description.

Most notably, this fixes an issues where an auto-created RoleDefinition would have created_by set, and we don't want that, because it shouldn't be attributed to such an (ordinary) user.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

'special': '{cls.__name__} {action}',
}
# This has been moved to data migration code
ANSIBLE_BASE_ROLE_PRECREATE = {}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a big goof. Since I had put up ansible/django-ansible-base#296 I confused myself about the contract with DAB. This was unexpectedly creating the managed role definitions in the post_migrate hook, in addition to AWX logic I added that did the same thing. Had it been removed in DAB (i.e. 296 was merged) that might have worked, but the path forward isn't super clear for that and I have cold feet on it.

In other words, we had duplicate role definitions which was causing unexpected names to be found.

@AlanCoding AlanCoding merged commit 918d5b3 into ansible:devel Apr 29, 2024
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
)

* Do some asthetic adjustments to role presentation fields

* Correctly test managed setup

* Minor migration adjustments
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
)

* Do some asthetic adjustments to role presentation fields

* Correctly test managed setup

* Minor migration adjustments
flippipe added a commit to nosportugal/awx that referenced this pull request Mar 6, 2025
)

* Do some asthetic adjustments to role presentation fields

* Correctly test managed setup

* Minor migration adjustments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants