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

Emit notifications only when user is authorized to see concerned object #12771

Merged
merged 1 commit into from
Nov 22, 2016

Conversation

isimluk
Copy link
Member

@isimluk isimluk commented Nov 21, 2016

https://bugzilla.redhat.com/show_bug.cgi?id=1394283

We shall not send a notification to the user, who is not authorized to see the object.

In future, we may want to handle the notification's subscribers in async queue.

@miq-bot add_label bug, blocker, core, euwe/no
@miq-bot assign @gtanzillo

@isimluk
Copy link
Member Author

isimluk commented Nov 21, 2016

@miq-bot remove_label euwe/no
@miq-bot add_label euwe/yes

@miq-bot miq-bot added euwe/yes and removed euwe/no labels Nov 21, 2016
@isimluk isimluk force-pushed the rhbz#1394283 branch 5 times, most recently from 5e8ce6d to 8b65ddc Compare November 22, 2016 11:34
@miq-bot
Copy link
Member

miq-bot commented Nov 22, 2016

Checked commit isimluk@8b65ddc with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
3 files checked, 0 offenses detected
Everything looks good. ⭐

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@gtanzillo gtanzillo added this to the Sprint 50 Ending Dec 5, 2016 milestone Nov 22, 2016
@gtanzillo gtanzillo merged commit 538b938 into ManageIQ:master Nov 22, 2016
@chessbyte
Copy link
Member

@simaishi Please create Euwe BZ for https://bugzilla.redhat.com/show_bug.cgi?id=1394283

chessbyte pushed a commit that referenced this pull request Nov 22, 2016
Emit notifications only when user is authorized to see concerned object
(cherry picked from commit 538b938)

https://bugzilla.redhat.com/show_bug.cgi?id=1394283
@chessbyte
Copy link
Member

Euwe Backport details:

$ git log -1
commit 95b74a8a55fcbd5ebd93717eb58775b4c9ea211f
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Tue Nov 22 08:51:42 2016 -0500

    Merge pull request #12771 from isimluk/rhbz#1394283
    
    Emit notifications only when user is authorized to see concerned object
    (cherry picked from commit 538b938dd4b81c5aff0347b9787da55622f97d3e)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1394283

@simaishi
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants