Red Hat Bugzilla – Bug 535139
test resource permission: Configure
Last modified: 2009-11-10 16:22:46 EST
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.
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.
The 'none' user COULD see the edit page link correctly.
SUMMARY: working as expected with a little extra visibility.
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.
Works as advertised with the recent changes to Group visibility. No additional bug discovered.
Works as advertised.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1866