Bug 1112182
Summary: | top level menu item "Content" visible to normal user without any permission | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> | ||||
Component: | Users & Roles | Assignee: | Stephen Benjamin <stbenjam> | ||||
Status: | CLOSED ERRATA | QA Contact: | Jan HutaĆ <jhutar> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.0.3 | CC: | bbuckingham, bkearney, jhutar, ohadlevy, stbenjam | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://projects.theforeman.org/issues/6362 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1112750 (view as bug list) | Environment: | |||||
Last Closed: | 2015-08-12 05:09:44 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
The user probably has the view_hosts permission inherited through the anonymous role. I've split this BZ into two - the stuff about "all hosts" is now bug #1112750. This bug will remain for the content menu issue, which if I understand the description correctly, is that an empty top-level menu is present even when the user has permission for nothing inside it. Created redmine issue http://projects.theforeman.org/issues/6362 from this bug moving to 6.1 moving to 6.1 Moving to POST since upstream bug http://projects.theforeman.org/issues/6362 has been closed ------------- Anonymous Applied in changeset commit:795b9287bae5ee941331e4291eec6570e8a1ce62. This bug is slated to be released with Satellite 6.1. 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-2015:1592 |
Created attachment 911371 [details] normal user can see content and Hosts menu. Content Menu doesn't list any other entity to select but hosts menus does show the 'All Hosts" Description of problem: I created a simple user in "Any context" mode and did not assign any location, org and roles. But following menus are visible to that user. Ideally user shouldn't be allowed to have access to any of menu items without any permission. Though content menu doesn't list sub menus but Hosts menu shows "All Hosts" and user can see the created hosts. Version-Release number of selected component (if applicable): sat6 beta snap10 compose2 How reproducible: always Steps to Reproduce: 1. Login with admin user 2. create a user in "Any context" and do not assign location and org 3. logout with admin user and login with newly created user Actual results: User can see Content menu and Hosts --> All hosts Expected results: user shouldn't be allowed to have access to any of menu items without any permission Additional info: