Skip to content

Commit

Permalink
Add Ownership and Tenancy Mixins to Authentication
Browse files Browse the repository at this point in the history
This adds ownership and tenancy to authentications allowing for key
pairs added by EmsRefresh to be associated with users in manageiq.
  • Loading branch information
agrare committed Jul 19, 2018
1 parent ed20ef9 commit a8bfff2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ def self.new(*args, &block)

serialize :options

include OwnershipMixin
include TenancyMixin

belongs_to :tenant

# TODO: DELETE ME!!!!
ERRORS = {
:incomplete => "Incomplete credentials",
Expand Down

0 comments on commit a8bfff2

Please sign in to comment.