Description of problem: If a JBossON user with read-write permissions creates an alert on a resource then the same user can delete the alert. But if that user creates Alert on a resource group, he can not delete the Alert. Version-Release number of selected component (if applicable): JBossON 3.3.7 How reproducible: As Above Steps to Reproduce: 1.Create a User with read-write permissions 2.Create Alert on a resource-group 3.Delete that Alert Actual results: "Alert Deleted" message is displayed but Alert is not deleted. Expected results: Alert should be deleted. Additional info:
Created attachment 1323680 [details] Role Permission
Hi, Create a resource group(eg.TestGroup) with rhqadmin user. Then Create a ROLE (eg.Support-Role)and give permissions as given in the attachment above. Add the new group TestGroup to the ROLE Support-Role. Then create a user(eg.xyz) with the ROLE Support-Role. Login to JON UI with user xyz. Create an alert on the TestGroup. Then try to delete that Alert. Alert will not be deleted.
Moving to ON_QA. JON 3.3.9 CR01 artifacts are available for test from here: http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/135/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip *Note: jon-server-patch-3.3.0.GA.zip maps to CR01 build of jon-server-3.3.0.GA-update-09.zip.
JBossON user with read-write permissions(Managing Alerts) able to create an alert on a resource then the same user able to delete the alert. Works as expected. Version info: ------------- OS: Fedora 26 Browser: Firefox 55.0.3 (64-bit) JBoss Operations Network Version: 3.3.0.GA Update 09 Build Number: 44ba698:204e925 GWT Version: 2.5.0 SmartGWT Version: 3.0p
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:2846