Bug 536281 (RHQ-648)
| Summary: | When user doesn't have Measurements role, the checkboxes next to the collection schedule items should be removed or at least disabled | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Jeff Weiss <jweiss> |
| Component: | Core UI | Assignee: | Charles Crouch <ccrouch> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.1pre | CC: | dajohnso, hbrock, jshaughn, skondkar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://jira.rhq-project.org/browse/RHQ-648 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-03 16:58:07 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: | 585306 | ||
|
Description
Jeff Weiss
2008-07-07 14:55:00 UTC
Should a user without Measurement perms be able to see the measurement data at all? Yes, remember, just being in a role gives a user view permissions across all subsystems for Resources associated with the role. For example, the user can view metrics data or resource config, but cannot edit metric schedules or resource config unless the role has the respective perms set. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-648 This is now fixed in coregui.war - [master ee1cabe]. Specifically, the enable/disable/set-interval controls on metric schedule views are now disabled if the logged-in user does not have the required permissions. Verified on build107 (Version: 4.1.0-SNAPSHOT Build Number: 9192306) Created a role without Manage Measurements write permissions and assigned a user and a resource group to the role. Logged in as the user and verified that on selecting a metric on Monitoring->Schedules tab, the buttons Enable/Disable are disabled and user is not allowed to set the collection interval time. Also verified that the checkboxes next to collection schedule items are disabled. Marking as verified. Bulk closing of old issues that are in VERIFIED state. |