Open
Description
Describe the bug
When a user is listed as an admin in the CATcher repo settings, the user won't be able to access CATcher if they don't have the specified repo required.
To Reproduce
Steps to reproduce the behavior:
- Go to a CATcher settings repo like
CATcher-org/public_data
that contains bug trimming phase - Give yourself admin access
- Go to your Github account, ensure that you don't have the repo required by bug trimming. For the case of
public_data
, delete the auto generated repobugreporting
from your account. - Access CATcher. (You can find the deployed version of the master branch here
- Notice the error message "Bug-Reporting Phase's repository initialisation is only available to students"
Expected behavior
I expect to be able to log in and access CATcher as the admin (or at least the rest of the repo if I don't own the required repo for bug trimming if 'admin' should not be able to init the repo).
Screenshots
Source: Bug discovered by @damithc and reproduced by @Eclipse-Dominator