diff options
| -rw-r--r-- | SCHEMA.md | 1 | ||||
| -rw-r--r-- | backend/constants.py | 1 | 
2 files changed, 2 insertions, 0 deletions
| @@ -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): | 
