module Hydra::User

Injects behaviors into User model so that it will work with Hydra Access Controls By default, this module assumes you are using the User model created by Blacklight, which uses Devise. To integrate your own User implementation into Hydra, override this Module or define your own User model in app/models/user.rb within your Hydra head.

Public Instance Methods

groups() click to toggle source
# File lib/hydra/user.rb, line 13
def groups
  group_service.fetch_groups(user: self)
end