aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SCHEMA.md1
-rw-r--r--backend/constants.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/SCHEMA.md b/SCHEMA.md
index c3edf35..11b4b89 100644
--- a/SCHEMA.md
+++ b/SCHEMA.md
@@ -31,6 +31,7 @@ In this document:
| `COLLECT_EMAIL` | The form should collect the email from submissions. Requires `REQUIRES_LOGIN` |
| `DISABLE_ANTISPAM` | Disable the anti-spam checks from running on a form submission. |
| `WEBHOOK_ENABLED` | The form should notify the webhook. Has no effect if no webhook is set. |
+| `ASSIGN_ROLE` | The form should assign role to user. Requires `REQUIRES_LOGIN`. |
### Webhooks
Discord webhooks to send information upon form submission.
diff --git a/backend/constants.py b/backend/constants.py
index d9d2735..e6ff127 100644
--- a/backend/constants.py
+++ b/backend/constants.py
@@ -66,6 +66,7 @@ class FormFeatures(Enum):
COLLECT_EMAIL = "COLLECT_EMAIL"
DISABLE_ANTISPAM = "DISABLE_ANTISPAM"
WEBHOOK_ENABLED = "WEBHOOK_ENABLED"
+ ASSIGN_ROLE = "ASSIGN_ROLE"
class WebHook(Enum):