Project

General

Profile

Actions

Bug #5879

closed

undefined local variable or method `scoped_search_definition' setting when setting permission filters

Added by Partha Aji over 10 years ago. Updated over 6 years ago.

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

Description

1) Goto Roles
2) Select "Filters and Permissions" next to a Role
3) Select New filter
4) Select "Architecture" or "Compute Resource" under resource type

Error reported in the server..

NameError (undefined local variable or method `scoped_search_definition' for #<Class:0x0000000c7d4f18>):
app/models/concerns/authorizable.rb:31:in `allows_taxonomy_filtering?'
app/models/concerns/authorizable.rb:35:in `allows_organization_filtering?'
app/controllers/permissions_controller.rb:14:in `index'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Rendered /home/paji/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
Rendered /home/paji/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/paji/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.9ms)

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #5664: Users permissions on hosts are not working properly with organizationsClosedMarek Hulán05/11/2014Actions
Actions

Also available in: Atom PDF