Project

General

Profile

Actions

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 over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #14182: Roles index does not use authorize scopeClosedMarek Hulán03/14/2016Actions
Actions

Also available in: Atom PDF