Project

General

Profile

Bug #4853

Subscriptions show page produces 500 error

Added by Eric Helms over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Associated revisions

Revision b8f8ebdd (diff)
Added by Eric Helms over 6 years ago

Fixes #4853: Prevents 500 error loading subscription details from API.

Previous changes to ensure the use of Foreman's authentication and authorization
call resulted in the subscriptions details breaking. The find_subscriptions
method makes a call out to Candlepin which requires a current user. Thus,
the authorize method was moved higher in the filter stack and the entities
required to do authorization such as the provider, and organization were
placed prior to the authorization check.

Revision 7f6eb115
Added by Eric Helms over 6 years ago

Merge pull request #3886 from ehelms/fixes-4853

Fixes #4853: Prevents 500 error loading subscription details from API.

History

#1 Updated by Eric Helms over 6 years ago

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

Applied in changeset katello|commit:b8f8ebddd3e7e72c82e38394162b1c3a229f6c81.

#2 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF