[Adminitration] Allow registrations: 3 modes = "close", "allowed", "moderate" - #877

This commit is contained in:
Laurent GAY
2025-09-03 21:07:33 +02:00
parent 8f8aa0ffbe
commit 3e4899c8e4
28 changed files with 526 additions and 19 deletions

View File

@@ -193,6 +193,9 @@ type Config {
"Whether the registrations are opened"
registrationsOpen: Boolean
"Whether the registrations want moderation"
registrationsModeration: Boolean
"Whether the registration are on an allowlist"
registrationsAllowlist: Boolean
@@ -1929,6 +1932,9 @@ type RootMutationType {
"Whether the registrations are opened"
registrationsOpen: Boolean
"Whether the registrations want moderation"
registrationsModeration: Boolean
"The instance's languages"
instanceLanguages: [String]
): AdminSettings
@@ -3761,6 +3767,9 @@ type AdminSettings {
"Whether the registrations are opened"
registrationsOpen: Boolean
"Whether the registrations want moderation"
registrationsModeration: Boolean
"The instance's languages"
instanceLanguages: [String]
}