Divisions can be used in rCTF to segregate users into different scoreboards, with optional access control lists based on verified email addresses. Every user must be in exactly one division, although users can change their division at any time (provided the new divison satisifies the ACL).
divisionsis a map from a division ID to its human readable name shown in the UI.
defaultDivisionis the division ID that new users will be placed into.
divisionACLsis a priority list of ACL elements. Only one element matches an email at a time, and each element contains
value, and an allowed
divisionslist. If the
divisionslist contains multiple elements, the first element is used while registering.
match values are:
valuecontains a domain which the user's email must be from.
valuecontains an exact email which the user's must match.
valuecontains a RegEx used to match the user's domain.
any: All emails are matched. The
To define a list of divisions with no restrictions, set
divisions: open: Open hs: High School college: College defaultDivision: open
To define a list of restricted divisions:
divisions: corp: Example Corp open: Open divisionACLs: - match: domain value: example.com divisions: - corp - match: email value: firstname.lastname@example.org divisions: - corp - match: all value: '' divisions: - open