the-turk / flarum-regrole
Allow users to assign roles to themselves during registration.
Installs: 1 109
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 4
Open Issues: 6
Language:JavaScript
Type:flarum-extension
Requires
- ext-json: *
- flarum/core: ^1.0.0
This package is auto-updated.
Last update: 2024-11-05 10:13:44 UTC
README
Allow users to assign roles to themselves during registration. You can also force existing users.
Installation
composer require the-turk/flarum-regrole:"*"
Updating
composer update the-turk/flarum-regrole php flarum cache:clear
Usage
Enable the extension and set allowed roles from the extension's settings. Also enable the "Force users to assign at least one role to themselves" option to force guests as well as existing users (users with "Edit user groups" permission will be excluded) to have at least one of those allowed roles.
! Attention: I've tested this extension as much as I can. However, any malfunction of this extension may cause fatal errors during registration and your users might be unable to use your forum. So please test it yourself (register to your forum and login as existing user if you're forcing them to choose a role) after installation to see if everything is working fine for everyone.