Skip to main content

Invite-only

Invite-only registration for FlaskBB. Lets an admin, or a member with an invitation quota, generate an invitation code/link (optionally emailed) that lets someone register even while registration is otherwise closed.

Installation

Install flaskbb-plugin-inviteonly with pip install flaskbb-plugin-inviteonly

For local development against a FlaskBB checkout, see "Developing a new, standalone plugin" in FlaskBB's own plugin development docs - in short, from FlaskBB's root folder:

uv pip install -e ../flaskbb-plugin-inviteonly

Usage

Any logged-in member with a nonzero (or unlimited) invitation quota can create invitations from "My Invitations" (linked in the user menu). Each invitation is a one-time code/link; an email address can optionally be given to send it directly, otherwise the code/link is shown to copy and share manually.

The recipient registers either by following the link (/invite/<code>) or by entering the code on the "Have an invitation code?" page (/invite) - both work even while FlaskBB's own registration is closed (REGISTRATION_ENABLED off).

Admins manage every invitation and grant/adjust any user's quota from the admin panel's "Invitations" page.

Settings

Invite-only Settings, under the admin panel's Plugin Settings, has three options:

  • Enable invite-only registration - master toggle for the invitation routes (default: on).
  • Default invitation quota - how many invitations a user can create before an admin has granted them a quota (default: 0, meaning invitations are admin-only until granted).
  • Invitation expiry (days) - how long an invitation stays valid (default: 7, 0 means it never expires).

Admins always bypass the quota check and can create invitations regardless of their own quota.

License

This project is licensed under the terms of the BSD License.

Release files for flaskbb-plugin-inviteonly 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flaskbb-plugin-inviteonly 1.0.0
File Size Uploaded
flaskbb_plugin_inviteonly-1.0.0.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flaskbb-plugin-inviteonly 1.0.0
File Interpreter ABI Platform
flaskbb_plugin_inviteonly-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size:32.2 kB

Release files / flaskbb_plugin_inviteonly-1.0.0.tar.gz

Download URL flaskbb_plugin_inviteonly-1.0.0.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
acf2147fd50a12bab488a31472a57c5925c32c59c52f2429d22ad6e40c947f02
BLAKE2b-256 checksum
How to use checksums
11459278442786072eabb37e07ad2d10e8fce49fd628fa434cd6fe1df270efa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / flaskbb_plugin_inviteonly-1.0.0-py3-none-any.whl

Download URL flaskbb_plugin_inviteonly-1.0.0-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37a6a635e68e210fccf36eed77d74526037404ad6147315069dbb48f70b8e1f0
BLAKE2b-256 checksum
How to use checksums
464b2186005a973a1ca120e25f566224c2ab0a09e9e5308b858c617a45ab83a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page