You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users with the admin permission should be able to intentionally deny tournaments when submitting them.
Implementation
In the POST body, add new key rejectionReason = (user selected rejection reasons int) (see here)
Rejection reason should be a multi-select dropdown menu with all rejection reasons in the linked file.
If a user selects more than one rejection reason, use bitwise unions on the values (e.g. (1 << 1) | (1 << 2) => x -- use rejectionReason = x in the POST body).
The text was updated successfully, but these errors were encountered:
Dependencies
Objective
admin
permission should be able to intentionally deny tournaments when submitting them.Implementation
POST
body, add new keyrejectionReason
= (user selected rejection reasonsint
) (see here)(1 << 1) | (1 << 2) => x
-- userejectionReason = x
in thePOST
body).The text was updated successfully, but these errors were encountered: