Sha256: c335c522d7f40eb93413b045436e4b92c28ccdc47a1f4d1a8a64a97b5414cf04

Contents?: true

Size: 800 Bytes

Versions: 6

Compression:

Stored size: 800 Bytes

Contents

class User < ApplicationRecord
  # Connects this user object to Hydra behaviors.
  include Hydra::User
  # Connects this user object to Role-management behaviors.
  include Hydra::RoleManagement::UserRoles

  # Connects this user object to Hyrax behaviors.
  include Hyrax::User
  include Hyrax::UserUsageStats

  # Connects this user object to Blacklights Bookmarks.
  include Blacklight::User
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :validatable

  # Method added by Blacklight; Blacklight uses #to_s on your
  # user class to get a user-displayable login/identifier for
  # the account.
  def to_s
    email
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hyrax-5.0.0.rc1 .koppie/app/models/user.rb
hyrax-4.0.0 .koppie/app/models/user.rb
hyrax-4.0.0.rc3 .koppie/app/models/user.rb
hyrax-4.0.0.rc2 .koppie/app/models/user.rb
hyrax-4.0.0.rc1 .koppie/app/models/user.rb
hyrax-4.0.0.beta2 .koppie/app/models/user.rb