-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[DynamicSecurity] getGroup command returns clients without priority #2599
Comments
After further investigation, the same applies to the listGroups command. |
I'm afraid I think you are mistaken in this case. Roles within a group have a priority for that group, to allow the roles to be ordered as desired. The clients within a group are all treated equally, there are no client priorities. In a similar way, groups in a client have priorities so that groups can be ordered as desired, but this is a client property, not a group property. I'm going to close this because I think that should clear up things for you (and I'd like to get back on top of issues), but please do feel free to reopen this and add more information if it isn't clear. |
Sorry for reopening. Just wanted to let you know that I fully understand your point. Haven't thought of it earlier and the API seemed inconsistent at first glance. I've also noticed that the documentation is not very clear on output formats and not always specifies which properties are optional. Would you mind if I created a PR with my proposal on more clearly specified docs? |
Consider following message on $CONTROL MQTT topic:
The returned clients array does not include their priority like roles do.
I truly believe it is a mistake and should behave same as roles.
Using latest eclipse-mosquitto docker image running on Apple M1.
The text was updated successfully, but these errors were encountered: