Skip to content

dsi-ehess/guest-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuestUsers

Invite external users "on the fly" to Hyrax from sharing tab of works, collections and files.

Usage

Activate the feature in Fliflop "settings" interface.

Installation

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 install

Add required fields to database :

$ rails generate guest_users:install  copy_migrations
$ rails db:migrate

Enable feature in Flipflop :

$ rails generate guest_users:install add_feature

Add this line to your routes.rb :

mount GuestUsers::Engine => "/guest_users"

Change this line in your routes.rb, from :

devise_for :users

to :

devise_for :users, class_name: 'GuestUsers::User'

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors