Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionKonstantin Trufanov
2017-01-19 17:25:29 UTC
Created attachment 1242535[details]
webui error
Description of problem:
User with Viewer role can't list subscriptions and settings although it has correct filters set
Version-Release number of selected component (if applicable):
6.2.4
How reproducible:
WebUI and hammer
Steps to Reproduce:
1. Create user with Viewer role
2. List subscriptions or settings via hammer or WebUI
Actual results:
User are not able to view subscriptions and settings
Expected results:
User able to view subscriptions and settings
Additional info:
There is different errors for settings and subscriptions
For settings:
Hammer - 403 Forbidden - server refused to process the request
WebUI - No such menu at all
For subscriptions:
WebUI - 403 error (see attached screenshot)
Hammer - return empty results
Comment 1Konstantin Trufanov
2017-01-19 17:26:06 UTC
Hello, there are two parts here, settings and view subscriptions. Settings can be only viewed by administrator which is intentional. Settings are global for all organization and can be viewer more like application configuration, therefore non-admin users should not be able to see it or manipulate it.
Regarding subscriptions, it can be either caused by the fact that Viewer role does not contain view_subscriptions permissions (BZ 1304608) or by the fact that view_subscriptions permission is broken (BZ 1333219). So I suggest to verify whether customer can see a filter with resource type Organization and permission with view_subscriptions in Viewer role. It's not clear from "User with Viewer role can't list subscriptions and settings although it has correct filters set"
If they can not, close as dup of BZ 1304608, otherwise close as dup of BZ 1333219.
Created attachment 1242535 [details] webui error Description of problem: User with Viewer role can't list subscriptions and settings although it has correct filters set Version-Release number of selected component (if applicable): 6.2.4 How reproducible: WebUI and hammer Steps to Reproduce: 1. Create user with Viewer role 2. List subscriptions or settings via hammer or WebUI Actual results: User are not able to view subscriptions and settings Expected results: User able to view subscriptions and settings Additional info: There is different errors for settings and subscriptions For settings: Hammer - 403 Forbidden - server refused to process the request WebUI - No such menu at all For subscriptions: WebUI - 403 error (see attached screenshot) Hammer - return empty results