Bug #17441
closed"Puppet class not found" when trying to override all parameters of a class as a user
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1390312
Description of problem:
When using a user account with limited rights (e.g. only view and edit puppetclasses), the user cannot click the "Override all parameters" button, as it will lead to a 404 error.
Version-Release number of selected component (if applicable):
Satellite 6.2.3
How reproducible:
Steps to Reproduce:
1. create a user with limited rights
2. grant the user the "view_puppetclasses" and "edit_puppetclasses" permissions
3. open https://sat/puppetclasses as that user, click "Override all parameters" for a class
Actual results:
"Puppet class not found Please try to update your request"
log:
2016-10-28 15:54:49 [app] [I] Started POST "/puppetclasses/9-test/override?enable=true" for 192.168.122.1 at 2016-10-28 15:54:49 +0200
2016-10-28 15:54:49 [app] [I] Processing by PuppetclassesController#override as HTML
2016-10-28 15:54:49 [app] [I] Parameters: {"authenticity_token"=>"TuAomLSSXoW9R+2caJKH/Ob5pu82ZcFXwBFuDPzV+A8=", "enable"=>"true", "id"=>"9-test"}
2016-10-28 15:54:49 [app] [I] Rendered common/404.html.erb within layouts/application (0.9ms)
2016-10-28 15:54:49 [app] [I] Rendered layouts/_application_content.html.erb (0.2ms)
2016-10-28 15:54:49 [app] [I] Rendered layouts/base.html.erb (0.8ms)
2016-10-28 15:54:49 [app] [I] Completed 404 Not Found in 48ms (Views: 2.9ms | ActiveRecord: 11.6ms)
Expected results:
parameters are overriden now
Additional info:
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4041 added
Updated by Ori Rabin about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e18d69e89b544288d90926011d7bb8b1d46a182b.
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release set to 207