Add ability to assign only certain contests to an admin user
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 412
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 3
Description
Currently, an admin user (created with cmsAddAdmin) manages all contests. I would like to be able to assign an admin user to only one contest (or to more than one contests).
Use case: with the multi-contest feature, it happens that some users wants to organize and manage (as admins) a contest, but they may also want to participate (as contestants) to a different contest.
By the way, why don't we ditch the Admin entity and just add a Participation.is_admin field?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how cmsAddAdmin creates and uses the Admin entity, then inspect Participation and the multi-contest permission flow. Define how an administrator is associated with one or more contests while retaining contestant access elsewhere. Done means permissions are limited to assigned contests and the proposed admin/participation model is covered for both single- and multi-contest cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authorization, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100