"request to invite" gem?

I am looking for a gem that will allow users to request an invitation, and also allow me to issue invitations to people.

I am currently using Devise for authentication, and I plan for users who have activated accounts to invite a small number of others, but I need a system that allows them to request an invitation in the first instance.

Any help would be greatly appreciated.

+4
source share
1 answer

Sounds like devise_invitable might be what you need for a bit that allows users to invite others.

https://github.com/scambra/devise_invitable

Here is a post explaining how to achieve what you seem to be describing using devise_invitable.

http://andrewgertig.com/2011/03/making-your-rails-web-app-invite-only-using-devise_invitable/

I don’t know any gems that handle the “invitation request” part, but is it not relatively simple if you set up a mechanism for collecting email addresses and then use devise_invitable to send invitations to these email addresses from the site administrator?

+8
source

Source: https://habr.com/ru/post/1403302/


All Articles