Bug 535139 (RHQ-1866)

Summary: test resource permission: Configure
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: No ComponentAssignee: Simeon Pinder <spinder>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedKeywords: SubTask
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1866
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 to make sure you can be permitted to reconfigure a resource. This may also be required to view the config - unsure what the design is - need to investigate what we want to have happen.

Comment 1 Simeon Pinder 2009-04-13 02:57:46 UTC
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:configure w/ 'configure' 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 -> Servers -> PostGres[postgres] -> Configure" 
#u:none - details shown but NO 'Edit' link/button is available.
#u:configure- details shown and ABLE to edit/change the 'Max Connections' attribute and successfully persist to JON inventory and postgresql.conf.
#u:rhqadmin - details shown and ABLE to edit/change the 'Max Connections' attribute and successfully persist to JON inventory and postgresql.conf..

Also checked to see if the edit url could be accessed from the user 'none', and it COULD be, but there was no 'Save' button to effect change of the properties modified.
Ex. http://127.0.0.1:7080/rhq/resource/configuration/edit.xhtml?id=500053&conversationId=64

The 'none' user COULD see the edit page link correctly.

SUMMARY: working as expected with a little extra visibility.

Comment 2 Simeon Pinder 2009-04-13 02:59:25 UTC
Now need to add test to this use case for when the user is NOT in the Everything group and to see if the recent changes to Group visibility still work as expected.

Comment 3 Simeon Pinder 2009-04-15 15:43:34 UTC
Works as advertised with the recent changes to Group visibility.  No additional bug discovered.

Comment 4 Simeon Pinder 2009-04-15 15:44:14 UTC
Works as advertised.

Comment 5 Red Hat Bugzilla 2009-11-10 20:48:24 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1866