Skip to content

feat: add restriction mode #369

@tobiasehlert

Description

@tobiasehlert

Add environmental flag to enable/disable "restriction mode" and some logic around that.
This to prevent flooding of upstream website that can cause subsequent issues, so limiting endpoints should be possible by this.
Highscores endpoint is subject to this restriction as of now, to only be allowed vocation all to be accessible when enabled.

When restriction-mode is enabled, the only valid vocation enum on highscores should be all.
When restriction-mode is disabled (default behaviour), filtering is supported as normal.

This is requested through dialog with Cipsoft.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions