-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Admin approval #1232
[Feature] Admin approval #1232
Conversation
0440e1f
to
230d2d3
Compare
cf72318
to
7cd555b
Compare
230d2d3
to
e644d0d
Compare
Nice! |
Do we have someone that is good in phrasing user facing stuff like the emails? @jwr1 or @TheVillageGuy maybe? |
Yeah I know 😅, but I didn't know how to solve this. I didn't really want to mess up the existing translations... But if you think that it is necessary I will split the existing one up, so that both messages can be merged |
ed923ae
to
9b44612
Compare
- admins can now decide to turn a mandatory approval on in the admin settings - a new tab will appear labelled "Applications" where new users that are not yet approved will appear - when the setting is enabled a new input will be displayed on the register page: "Application Text" - This behaviour will be apparent on registering with an added flash message informing the user about it - Users will receive an email when they are accepted or rejected - when a user is not approved they cannot log in and an appropriate message will be displayed - the register site now redirects to the login page instead of the front page
8ed5d6a
to
4868912
Compare
- Move from `isApproved` and `isRejected` to an enum model - update twig to v3.15 to use the new `enum` method - improve the signup_requests page - fix the `SettingsManager` handling of the new variable - fix the `UserCommand` not taking an application text
@melroy89 are you fine with the 2 flash messages upon signup? I think it is fine this way, but I can invest the work to fix it if you want to |
It's fine for me. |
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Co-authored-by: TheVillageGuy <47496248+TheVillageGuy@users.noreply.github.com>
Tasks
Pictures
Register Page
Admin application view
Mails
Closing #722