Bug 535136 (RHQ-1863)
Summary: | test resource permission: Measure | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Mazzitelli <mazz> |
Component: | No Component | Assignee: | Simeon Pinder <spinder> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | Keywords: | SubTask |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-1863 | ||
Whiteboard: | |||
Fixed In Version: | 1.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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: | 535119 |
Description
John Mazzitelli
2009-03-26 17:33:00 UTC
Test that the measurement permission works. I think the only thing this gives you permission to do is to change the collection intervals for metric schedules. Someone correct me if I'm wrong. Who ever is assigned to this needs to check the code to make sure I'm right. 1) Created 'Everything' group including all discovered resources(See parent issue for details). 2) Create two additional user accounts i) u:none with no role perms and member of everything group. ii)u:measure w/ 'measure' perms and member of 'Everything' 3) Logged into the app from three separate browsers(FFx2 & IE) with three separate accounts Following results obtained while viewing/testing " Logged in-> Resources -> Platforms->[Select One] -> Click on [Free Memory]. At the bottom of the page focus on modifying one of the properties under 'Metric Baseline & Expected Range ': #u:none - details shown but NO 'Change Value' link is available. #u:measure - details shown and ABLE to edit/change the 'High Range' and successfully persist to JON inventory. #u:rhqadmin - details shown and ABLE to edit/change the 'High Range' and successfully persist to JON inventory. Also checked to see if the edit url could be accessed from the user 'none', but errored out and doesn't appear to be enough context from url anyway. Ex. Use http://127.0.0.1:7080/resource/common/monitor/visibility/ViewChart.do The 'none' user could NOT see the edit page link correctly. SUMMARY: working as expected. Added one more level of restricted visibility group testing due to changes in group authorization mechanism. See parent issue for more detailed description. In addition to above, also created: i) Recursive group that included the Platform only. ii) Role that included group from first step and only 'measure' perms selected. ii) User attached to role. Works as expected. Nothing additional to report. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1863 |