CATcher-org / CATcher-org/CATcher

Repo Creation Service and supporting multiple open phases

Open
#681 1 comment 1 reaction 0 assignees View on GitHub
p.Zero
Dominant language
TypeScript
Stars
92
Forks
85
PR merge metrics
No merged PRs in 30d

Description

## On supporting multiple open phases

Current phase is set to be the first element in the array of openPhases.
In the case where an `admin` would like to view issues in the `testerResponse` phase for example, they would need to create a bug-reporting repo in order to log in, which they do not have the permission to. Therefore the `admin` will be blocked from logging in.

If we would like to support multiple open phases, I think we might need to redefine the logic for `verifyRepoCreationPermissions()`, which blocks all other roles from logging in during the bug reporting phase

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing verifyRepoCreationPermissions and how openPhases determines the current phase, then inspect the login and repo-creation flow. Done means admins can log in during testerResponse without creating a bug-reporting repository, while multiple open phases remain supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authorization, backend
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.