Bug #6825
closed
refactor api/v2/filters_controller.rb to use find_optional_nested_object and add Authorizable to class Role
Added by Joseph Magen about 10 years ago.
Updated about 6 years ago.
Description
after refactoring filters_controller to use find_optional_nested_object, it was discovered that Role doesn't respond to #authorized method, so include Authorizable needs to be added to role.rb
This is commit was need for tests to pass in PR #4181
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1630 added
- Pull request deleted (
)
- Target version changed from 1.8.0 to 1.7.5
- Translation missing: en.field_release set to 10
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
This fix doesn't work on 1.5.2 ?
It seems to remain.
Yama Kasi wrote:
This fix doesn't work on 1.5.2 ?
It seems to remain.
Huh? I think you have the wrong ticket.
Dominic Cleal wrote:
Yama Kasi wrote:
This fix doesn't work on 1.5.2 ?
It seems to remain.
Huh? I think you have the wrong ticket.
Nudik pointed me to this and indeed it happens on 1.5.2 (too)!
- Related to Bug #14182: Roles index does not use authorize scope added
Also available in: Atom
PDF