This PR adds two components for managing CTF configuration. Challenges can be added for blueteams to score against by uploading plain-text CSV data. Challenges can also be modified or deleted by editing a interactive table, much like with users.
There's a good deal of validation and feedback, so it's pretty easy for anyone to do at this point, provided they are an admin or blackteam member. The server-side validation will prevent users from editing flags outside of their control.
The JSON REST API endpoints for ctf configuration - /ctf/flags - all work as you'd expect, supporting GET, POST, PUT, and DELETE.
This PR adds two components for managing CTF configuration. Challenges can be added for blueteams to score against by uploading plain-text CSV data. Challenges can also be modified or deleted by editing a interactive table, much like with users.
There's a good deal of validation and feedback, so it's pretty easy for anyone to do at this point, provided they are an admin or blackteam member. The server-side validation will prevent users from editing flags outside of their control.
The JSON REST API endpoints for ctf configuration -
/ctf/flags
- all work as you'd expect, supporting GET, POST, PUT, and DELETE.Closes #9