-
Notifications
You must be signed in to change notification settings - Fork 536
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
Riak security "add-source all" adds two source records. #470
Comments
There has been work from @macintux on the CLI UX for security b/w pre18 and pre20, any idea if these issues still exist? |
Sorry, accidental "close & comment" button push. |
Issue exists, but is a display issue, not a code error. For each user in a source, one source row is added; even is the user added is 'all'. The user lists is combined for display. Then, if a source has 'all' in the user list, an additional row is added to the display. Because the source in the example has no users explicitly added, the row before the 'all' row has an empty list of users. Possible solutions:
Note that in both cases, if the documentation doesn't already cover this case, it should: +--------------------+------------+----------+----------+ | users | cidr | source | options | +--------------------+------------+----------+----------+ | jackson, c, b, a, |127.0.0.1/32| trust | [] | | jones | | | | | all |127.0.0.1/32| trust | [] | +--------------------+------------+----------+----------+ If the 'all' source is removed, users jackson, c, b, a, and jones will still be trusted. |
Touching this; I've had it on my list for a very long time to fix this, so hope to take a look soon. |
Trivial patch forthcoming |
PR submitted, also submitted docs issue basho/basho_docs#1111 |
Closing, PR is being merged |
This doesn't seem to have any negative effects other than the
print-sources
output:The text was updated successfully, but these errors were encountered: