Actions
Bug #8812
closedPass model type in API base controller
Description
At least on version 1.6.1, the absence of this second parameter leads to a
runtime crash when it's time to validate if the current user (non-admin) is
allowed to perform a power operation on given a host via the APIv2.
The root cause of the crash is basically that search_for is called on
Host::Base by app/services/authorizer.rb:50.
Not sure this is necessary in newer versions, up to the developers to figure
it out :)
Updated by Dominic Cleal almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2013 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Has duplicate Bug #6403: power API returns error if using a hostgroup_id search filter added
Updated by Dominic Cleal over 9 years ago
- Pull request https://github.com/theforeman/foreman/pull/2121 added
- Pull request deleted (
https://github.com/theforeman/foreman/pull/2013)
Updated by Dominic Cleal over 9 years ago
- Has duplicate Bug #9314: power-state change on vms in aws-compute resource cause 500 server error added
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e02a2ff23dfec7361c688b469461cc1e926bba23.
Updated by Dominic Cleal over 9 years ago
- Translation missing: en.field_release set to 28
Actions