Project

General

Profile

Actions

Bug #4745

closed

ERF51-5531: unknown permission for katello/api/v2/organizations#repo_discover (Foreman::Exception)

Added by Pavel Studenik about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

foreman-1.5.0.9-1.el6sat.noarch

When I tried discovery repo (Content -> Products -> Yum Repo Discovery), I got following error:

Processing by Katello::Api::V2::OrganizationsController#repo_discover as JSON
Parameters: {"id"=>"ACME_Corporation", "url"=>"http://yum.spacewalkproject.org/2.1-client/Fedora/20/x86_64/", "api_version"=>"v2", "organization"=>{"id"=>"ACME_Corporation"}}
ERF51-5531: unknown permission for katello/api/v2/organizations#repo_discover (Foreman::Exception)
/usr/share/foreman/app/controllers/api/base_controller.rb:275:in `action_permission'
/usr/share/foreman/app/controllers/api/base_controller.rb:50:in `resource_scope'
/usr/share/foreman/app/controllers/api/base_controller.rb:153:in `block in
...
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.5/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (0.9ms)
Completed 500 Internal Server Error in 20ms (Views: 9.6ms | ActiveRecord: 0.4ms)

Actions #1

Updated by Dominic Cleal about 10 years ago

  • Project changed from Foreman to Katello
  • Category deleted (47)
Actions #2

Updated by Mike McCune about 10 years ago

  • Triaged set to Yes
Actions #3

Updated by Mike McCune about 10 years ago

  • Triaged deleted (Yes)
Actions #4

Updated by Mike McCune about 10 years ago

  • Assignee set to Partha Aji
  • Priority changed from Normal to High
  • Triaged set to Yes
Actions #5

Updated by Justin Sherrill about 10 years ago

  • Category set to Web UI
  • Status changed from New to Assigned
  • Assignee changed from Partha Aji to Justin Sherrill
Actions #7

Updated by Justin Sherrill about 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:36c2153a7bd0386251e86a2738b60262ac6ed2c2.

Actions #8

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF