Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip default definitions when definitions are imported using management.load_definitions #4904

Merged
merged 1 commit into from May 27, 2022

Conversation

mkuratczyk
Copy link
Contributor

There was a missing condition reported on the mailing list.
If the old-school management.load_definitions was used in the config file,
the guest user was still created.

Test case:

  1. Start RabbitMQ with any definitions loaded using management.load_definitions
  2. rabbitmqctl list_users
  3. Without this PR, guest user exists, but it shouldn't

@michaelklishin
Copy link
Member

Good catch. I'd argue that setting should have been replaced now that a core alternative has been around for well over a year but no harm in merging this

@michaelklishin michaelklishin added this to the 3.10.3 milestone May 27, 2022
@michaelklishin michaelklishin merged commit e5c77cd into master May 27, 2022
@michaelklishin michaelklishin deleted the skip-default-definitions branch May 27, 2022 09:53
michaelklishin added a commit that referenced this pull request May 27, 2022
Skip default definitions when definitions are imported using management.load_definitions (backport #4904)
michaelklishin added a commit that referenced this pull request May 27, 2022
Skip default definitions when definitions are imported using management.load_definitions (backport #4904) (backport #4905)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants