Bug #25648
closedUnable to delete filters on a Role using system admin
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1655870
Description of problem:
Version-Release number of selected component (if applicable):
Build:Satellite 6.5.0 Snap 6
How reproducible:
Always from WebUI
Steps to Reproduce:
1. Create a User with system admin
2. Login with system admin user, try to clone a role and delete any filter from role
3.
Actual results:
Unable to delete the Filters on the cloned role. With error
Filter not found Please try to update your request
Expected results:
System admin should be able to delete the filters on roles
Additional info:
2018-12-04T02:05:02 [I|app|] Started DELETE "/filters/316?role_id=30-aaa" for 10.67.117.3 at 2018-12-04 02:05:02 -0500
2018-12-04T02:05:02 [I|app|cd911] Processing by FiltersController#destroy as HTML
2018-12-04T02:05:02 [I|app|cd911] Parameters: {"authenticity_token"=>"2neQLqJSRz997DBy6KoRvDVExRm7gTAbBZ6ULjF8egl+wl43QAQmkNpnsBHpLoXfled3SqpJYCrdqZjCo9OoGA==", "role_id"=>"30-aaa", "id"=>"316"}
2018-12-04T02:05:02 [I|app|cd911] Current user set to sa (regular)
2018-12-04T02:05:02 [I|app|cd911] Rendering common/404.html.erb within layouts/application
2018-12-04T02:05:02 [I|app|cd911] Rendered common/404.html.erb within layouts/application (1.5ms)
2018-12-04T02:05:02 [I|app|cd911] Rendered layouts/_application_content.html.erb (0.5ms)
2018-12-04T02:05:02 [I|app|cd911] Rendering layouts/base.html.erb
2018-12-04T02:05:02 [I|app|cd911] Rendered layouts/base.html.erb (2.2ms)
2018-12-04T02:05:02 [I|app|cd911] Completed 404 Not Found in 64ms (Views: 6.3ms | ActiveRecord: 15.9ms)
2018-12-04T02:05:03 [I|app|] Started GET "/notification_recipients" for 10.67.117.3 at 2018-12-04 02:05:03 -0500
2018-12-04T02:05:03 [I|app|ffe3e] Processing by NotificationRecipientsController#index as JSON
2018-12-04T02:05:03 [I|app|ffe3e] Current user set to sa (regular)
2018-12-04T02:05:03 [I|app|ffe3e] Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 8.4ms)