Skip to content
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 issues in authorization #997

Merged
merged 2 commits into from
Sep 14, 2018
Merged

Fix issues in authorization #997

merged 2 commits into from
Sep 14, 2018

Conversation

sdkottegoda
Copy link
Contributor

Purpose

Permission for queue consume is granted during the binding
authorization. The issue was caused due to the fact that the permission
check for binding was done after adding the binding. This existence of
the incorrect binding causes the next consume call to be directly
checked for autherization skipping necessary permission granting
in binding creation.
Resolves: wso2/product-ei#2631

A user is granted permission to consume from a queue upon being authorized for the binding. Authorization for binding only happens for a new binding. The second user with the same subscription id is not granted permission to consume from the queue since binding authorization is skipped.
Resolves: wso2/product-ei#2603

Permission for queue consume is granted during the binding
authorization. The issue was caused due to the fact that the permission
check for binding was done after adding the binding. This existence of
the incorrect binding causes the next consume call to be directly
checked for autherization skipping necessary permission granting
in binding creation.
Resolves: wso2/product-ei#2631

Adds a configuration to skip permission check when processing basic
consume for durable subscriptions to be compatible with the
functionality of MB 3.0.0.
A user is granted permission to consume from a queue upon being
authorized for the binding. Authorization for binding only happens for
a new binding. The second user with the same subscription id is not
granted permission to consume from the queue since binding
authorization is skipped.
@malakaganga malakaganga merged commit a1a208a into wso2:master Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants