Project

General

Profile

Actions

Bug #25648

closed

Unable to delete filters on a Role using system admin

Added by Marek Hulán over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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)

Actions #1

Updated by Tomer Brisker over 5 years ago

  • Subject changed from Unable to delete filters on a Role using system admin to Unable to delete filters on a Role using system admin
  • Category set to Users, Roles and Permissions
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman/pull/6330 added
Actions #3

Updated by Marek Hulán over 5 years ago

  • Fixed in Releases 1.21.0 added
Actions #4

Updated by Ondřej Pražák over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF