Mastodon: Invite-Only mode for registrations

Created on 5 Apr 2017  路  14Comments  路  Source: tootsuite/mastodon

Currently, I can either open or close registration on my mastodon instance. When registration is open, it looks like I can blacklist certain domains from signing up, but can't otherwise limit registration. I'd like to be able to close registrations except for a whitelist of email addresses, to allow my family members to register without letting randos register.


  • [x] I searched or browsed the repo鈥檚 other issues to ensure this is not a duplicate.
deployment

Most helpful comment

I'm interested in working on this - it's something I'd like for my own instance. My preliminary inclination, without having looked at the code much yet, is to go the invite-link route as it seems most flexible. It could also be extended in the future to optionally allow non-admins to issue invites as well, which is something I'd personally like.

I can start looking into that approach. Would love feedback from others on how that sounds or whether other features would be useful.

All 14 comments

Either a whitelist of emails, or a way for admins of an instance to share "invite links".
I saw we can use a whitelist of _domains_ (in emails), but this still shows the signup form instead of displaying my custom message.

This feature would be very beneficial.

I'm interested in working on this - it's something I'd like for my own instance. My preliminary inclination, without having looked at the code much yet, is to go the invite-link route as it seems most flexible. It could also be extended in the future to optionally allow non-admins to issue invites as well, which is something I'd personally like.

I can start looking into that approach. Would love feedback from others on how that sounds or whether other features would be useful.

@loganmhb That's the exact functionality that I am wanting!

@loganmhb this is exactly what I want, too.

@loganmhb have you started this? I intended to work on it this week but didn't want to double up efforts.

I was/am going to add https://github.com/scambra/devise_invitable and add a option to enable it, and ui for users to trigger it.

@halkeye - If you're working on this from a fork, I'd be happy to test on my instance.

@halkeye I haven't really started this so if you have a plan go for it!

I was looking into how to build something like this but I'm totally unfamiliar with devise so I was pretty lost -- @halkeye that sounds like the perfect tool

/me follows along with interest

When i have something unstyled working i'll start a PR to get feedback

Okay, the more I look into this the less I like devise_invitable.

It currently would need you to specify the username and email for every invite., plus it makes the user table a lot bigger.

Its going to take longer, but I think i'm going to write something from scratch

I know this is a good idea, because I just thought of it... one month after everyone else :)

just to make this issue better searchable: "by invitation only"

I am interested in this feature! And while it would be great to have a more robust solution, there is a simpler stopgap solution that toot.cafe is using that maybe a good initial step in the meantime.

https://github.com/tootcafe/mastodon/pull/9

Was this page helpful?
0 / 5 - 0 ratings

Related issues

valentin2105 picture valentin2105  路  67Comments

sturmen picture sturmen  路  67Comments

lunar-debian picture lunar-debian  路  58Comments

hach-que picture hach-que  路  263Comments

ghost picture ghost  路  54Comments