Bug 1552801

Summary: RBAC doesn't work for notifications
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - ServiceAssignee: Allen W <awight>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: akarol, awight, bascar, cbolz, dclarizi, hkataria, jhardy, lavenel, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: All   
OS: Linux   
Whiteboard: testathon
Fixed In Version: 5.9.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1518279 Environment:
Last Closed: 2018-05-07 20:44:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1518279    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-07 19:41:29 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/03fe3c2a815b36822b0e8e59bc9e7ca7a0a0dc1d
commit 03fe3c2a815b36822b0e8e59bc9e7ca7a0a0dc1d
Author:     Martin Povolny <mpovolny>
AuthorDate: Sat Feb 24 11:59:47 2018 -0500
Commit:     Martin Povolny <mpovolny>
CommitDate: Sat Feb 24 11:59:47 2018 -0500

    Merge pull request #16817 from AllenBW/#1518279-update-sui-roles-to-include-sui-notifications

    (cherry picked from commit c57a11b98aae1f89d58fe179149c9f647e001961)

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

 db/fixtures/miq_user_roles.yml | 12 +
 1 file changed, 12 insertions(+)

Comment 3 CFME Bot 2018-03-08 23:27:43 UTC
New commit detected on ManageIQ/manageiq-ui-service/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-service/commit/72d90a2fc8d03279f8505c3e3f1cfe3e5fcc2360
commit 72d90a2fc8d03279f8505c3e3f1cfe3e5fcc2360
Author:     Martin Hradil <himdel>
AuthorDate: Tue Feb 27 07:35:59 2018 -0500
Commit:     Martin Hradil <himdel>
CommitDate: Tue Feb 27 07:35:59 2018 -0500

    Merge pull request #1293 from AllenBW/bug/master/#1518279-notification-creation-gated-by-rbac

    Notifications should gated on sui_notification product feature
    (cherry picked from commit 280e297f032346b622af69937d38c151348d9ba3)

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

 client/app/core/event-notifications.service.js | 49 +-
 client/app/core/event-notifications.service.spec.js | 7 +-
 2 files changed, 33 insertions(+), 23 deletions(-)

Comment 4 Shveta 2018-04-03 23:37:13 UTC
If notification is disabled for user , notifications are not shown in Service UI .
Verified in 5.9.2.0.20180320210136_355c506

Comment 7 errata-xmlrpc 2018-05-07 20:44:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1328