Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Bugfix/acl create #12

Merged
merged 3 commits into from
Aug 15, 2019
Merged

Conversation

EntonoX
Copy link
Contributor

@EntonoX EntonoX commented Aug 14, 2019

Fix issue where ACL plugin 1.0-x is using different create method for ACL's.

@Douglasdc3
Copy link
Owner

Checked this against the docs. The consumer is only needed in the url definition not in the body of the call.

I think it would be better and still work if the consumer_id property was removed from the ACL Consumer completely and of course references to it.

@Douglasdc3 Douglasdc3 mentioned this pull request Aug 15, 2019
@EntonoX
Copy link
Contributor Author

EntonoX commented Aug 15, 2019

Checked this against the docs. The consumer is only needed in the url definition not in the body of the call.

I think it would be better and still work if the consumer_id property was removed from the ACL Consumer completely and of course references to it.

You were totally right. I removed the unneeded parameter from the create function. Also changed to consumer variable in AclConsumer model. Tested with several, list, create and manual acl create.

I added these fixes to the branch.

@Douglasdc3 Douglasdc3 merged commit 51043e7 into Douglasdc3:master Aug 15, 2019
@EntonoX EntonoX deleted the bugfix/acl-create branch August 4, 2021 11:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants