Invite external users "on the fly" to Hyrax from sharing tab of works, collections and files.
Activate the feature in Fliflop "settings" interface.
Put the gem in your project's vendor/gem directory and add this line to your application's Gemfile:
gem 'guest_users', path: 'vendor/gems/guest_users'And then execute:
$ bundle installAdd required fields to database :
$ rails generate guest_users:install copy_migrations
$ rails db:migrateEnable feature in Flipflop :
$ rails generate guest_users:install add_featureAdd this line to your routes.rb :
mount GuestUsers::Engine => "/guest_users"Change this line in your routes.rb, from :
devise_for :usersto :
devise_for :users, class_name: 'GuestUsers::User'The gem is available as open source under the terms of the MIT License.