You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
mkanoor
changed the title
When using certificate base authentication org_admin is not defined.
When using certificate based authentication org_admin is not defined.
Jun 19, 2020
insights-api-common-rails/lib/insights/api/common/user.rb
Line 16 in bc964c7
A system user has limited privileges and can do very limited operations.
The payload looks like this
So any code that tries to check org_admin for a cert based authentication like here will fail.
https://github.com/RedHatInsights/sources-api/blob/7365c17b76fdf937ebcecf60705ba9cf75987824/app/controllers/application_controller.rb#L100
Will raise an exception from here
insights-api-common-rails/lib/insights/api/common/user.rb
Line 37 in bc964c7
The text was updated successfully, but these errors were encountered: