-
Notifications
You must be signed in to change notification settings - Fork 935
Fix for duplicate acls #1370
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
Fix for duplicate acls #1370
Conversation
|
I removed the previous dummy change from the RC branch, please make sure it won't be merged again. |
or ACL binding filters are passed.
43cc5b5 to
076e282
Compare
examples/adminapi.py
Outdated
| print(f"Invalid input: {e}") | ||
| return | ||
|
|
||
| if fs is None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this possible? I don't reckon, no need to check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
There are also some test failures due to trivup not starting, see if the a new run (after fixing the other issues) solves it. |
f7dd6f7 to
5d35089
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
raised ValueError if duplicate ACL bindings or ACL binding filters are passed.
In create_acls and delete_acls it returns a dict with AclBinding or AclBindingFilters as keys.
If sent parameters are not unique the returned dict has less entries than the sent ones and it causes and Exception.