Bug 611760
| Summary: | User assigned to a role having only manage bundles permissions is not able to see any content. | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Sunil Kondkar <skondkar> |
| Component: | Provisioning | Assignee: | Ian Springer <ian.springer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sunil Kondkar <skondkar> |
| Severity: | medium | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 3.0.0 | CC: | ccrouch, ian.springer |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-12 16:46:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 577210 | ||
|
Description
Sunil Kondkar
2010-07-06 12:31:26 UTC
Fixed by commit 074d5c2, which has been pushed to the release-3.0.0 branch.
Now a user with the Bundle perm can view Content>Bundles menu item, but a user with the Inventory perm and not the Bundle perm cannot.
Here's the relevant blurb from menu.xhtml:
<ui:remove>***** Administration > CONTENT *****</ui:remove>
<rich:menuGroup value="Content" rendered="#{GlobalPermissionsUIBean.inventory || GlobalPermissionsUIBean.bundle}">
<rich:menuItem submitMode="none" onclick="window.location = '/coregui/CoreGUI.html#Bundles'"
rendered="#{GlobalPermissionsUIBean.bundle}">
<h:outputText value="Bundles"/>
</rich:menuItem>
<rich:menuItem submitMode="none" onclick="window.location = '/rhq/content/listContentProviders.xhtml'"
rendered="#{GlobalPermissionsUIBean.inventory}">
<h:outputText value="Content Sources"/>
</rich:menuItem>
<rich:menuItem submitMode="none" onclick="window.location = '/rhq/content/listRepos.xhtml'"
rendered="#{GlobalPermissionsUIBean.inventory}">
<h:outputText value="Repositories"/>
</rich:menuItem>
</rich:menuGroup>
Verified on jon-2.4.0.GA_QA build#52 User assigned to a role having only manage bundles permissions is able to access Content>Bundles. A a user having the Inventory permission and without the Bundle permission cannot access Content>Bundles. Mass-closure of verified bugs against JON. |