-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Consider a "set user permission for all vhosts" CLI command #1000
Comments
Something like a special vhost name for permissions ( |
Bump. |
It will be very useful For ex to use with datadog |
Very useful indeed. This is management overhead that's unnecessary. newrelic monitoring. |
Yeah this would be great! |
I am leaning towards a new command and not a special virtual host name. It's a pretty dangerous thing to do and someone might confuse which one of the four asterisks grants the permissions to all virtual hosts in the cluster. |
@michaelklishin I might be misunderstanding the code, that command looks like it only applies to vhosts that exist at that moment? If so, that doesn't really answer the issue. Imagine something like a monitoring user which needs read access to every vhost, even future ones. |
Yes.
Yes, this feature addresses a major part of the issue. @michaelklishin already made a comment with regard to future vhosts:
|
I would still vote to leave this issue open until the true "all vhosts" solution is worked out :) Or make a new one, either way. |
@coderanger yes, it only applies to virtual hosts that already exist. This is how most users interpreted this feature. We do have a couple of features that "pre-configure" virtual hosts that will be created in the future but this is something very new: ##6172. Something similar for permissions makes sense but it'd need to be designed. @illotum have you ever had a need for something like @coderanger is describing? |
I have not heard of our customers requesting this. And we don't provision users for operators at all. A little tangential: from the cloud platform perspective vhosts in general feel redundant. |
My specific use case here is KEDA autoscaling, creating a single platform-level "keda" user in Rabbit rather than having to coordinate with every team using it. |
@coderanger I have an outline of the same idea as in #6172 but for permissions in #7208. |
Originally filed as rabbitmq/rabbitmq-management#293.
One thing that's immediately not obvious to me is what should happen when new vhosts are added, since this is an ongoing maintenance problem.
Also, as of
3.7.0
this can become a CLI plugin (once the new CLI is open sourced and integrated) instead of a built-in feature but some internal API hooks would help either way.The text was updated successfully, but these errors were encountered: