codalab / codalab/codabench

Blacklists and Whitelists feature for Admins and Organizers

Open
#1,908 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement
Dominant language
Python
Stars
176
Forks
74
Avg merge
5d 3h
Merged PRs (30d)
21

Description

This is to keep track of a feature which I think could benefit organizers and is important for site admins.
We need a general blacklist for emails and usernames. It can help us fight against domain names which are known for spam, as well as make it easier for us to ban users that cause trouble on the platform.

For Organizers, it can help them control who has access to their competition, either because they don't want to manually approve everyone, while needing a way to ban specific users by using a blacklist, or create a whitelist with wildcards so that only a specific domain can sign up to their competition(s).
Here is an example where a blacklist can be useful for both organizers and admins : https://github.com/codalab/codabench/issues/1733

Here is an example of why a whitelist with wildcards can be useful for organizers or site admins : https://github.com/codalab/codabench/issues/1827

Both the Blacklist and Whitelist should be able to use Regex and wildcards to be as flexible as possible, allowing admins and organizers more control on their instance and competitions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the existing competition signup and user-ban or approval flows, then clarify the administration and organizer scope, matching rules, and acceptance criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authorization, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.