Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

feat: Approval System #93

Merged
merged 9 commits into from
Oct 18, 2023
Merged

feat: Approval System #93

merged 9 commits into from
Oct 18, 2023

Conversation

Mar0xy
Copy link
Contributor

@Mar0xy Mar0xy commented Oct 18, 2023

This allows instances to approve users or deny them before they can sign in.

The current implementation that is done doesn't have a special interface as the sorting is done via the Users tab in instance settings currently if admins want to check unapproved accounts.
Control Panel > Users > State > Not Approved

On the moderation page of the users will be a new tab called "Approval" that will only be shown if the user viewed isn't approved,
Users that are waiting for an approval will get an "Approval Pending" email followed by an email stating they were accepted if an admin accepted them. if the admin decided to deny their registration request and clicked the "Deny & Delete account" button (Deletion is done to be in accordance with GDPR) the user will simply end up getting an "Account Deleted" email.

An warning will also be shown to visitors like it is already done with instances that are invite-only stating that the instance is approval only.

If instances don't have email setup as a requirement for new users it will simply show the user a dialog stating that their account has been created and is awaiting approval. this same dialog will also show after a user has verified their signup/email if email requirement is enabled.

WARNING

For instances that are already running Sharkey and instances that want to migrate from misskey or firefish please prompt your users to logout and log back in so their accounts default to approved in case you ever want to switch to approval required.
You can also run this query manually after the update is released to automatically set all accounts as approved:

UPDATE user SET approved = true;

Closes #84

@Mar0xy Mar0xy marked this pull request as ready for review October 18, 2023 01:41
@Mar0xy Mar0xy merged commit 887f422 into develop Oct 18, 2023
8 checks passed
@Mar0xy Mar0xy deleted the feature/approval branch October 18, 2023 19:08
@Mar0xy Mar0xy mentioned this pull request Oct 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Approval User Signups
1 participant